boolean Data Type (Visual Studio - JScript)
The value of the boolean type, which is either true or false, depends on whether the true or false keyword is assigned to the type.
The corresponding .NET Framework data type is System.Boolean. The Boolean data type is identical to the boolean data type.
The properties and methods of the boolean data type are the same as the System.Boolean properties and methods.
JScript also defines a Boolean object. The boolean data type interoperates with the Boolean object. Consequently, a Boolean object can call the methods and properties of the boolean data type, and a boolean data type can call the methods and properties of the Boolean object. For additional information, see Boolean Object Properties and Methods. Furthermore, Boolean objects are accepted by functions that take boolean data types, and vice versa.
The boolean data type should be used instead of the Boolean object in most circumstances.