Boolean
Extends Literal. The simplest data type there is - it's either true or false.
Booleans in EVML must be declared in lowercase.
var a = true; // Correct
var b = TRUE; // NOT Correct
var c = (2 < 1); // false
Methods |
---|
toNumber()
Number
Returns a new Number representing the Boolean value where 1 presents true and 0 represents false. |
toString()
String
Returns a new String representing the Boolean value in lowercase (true or false). |