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
toString()

Type String

Returns a new String representing the Boolean value in lowercase (true or false).

toNumber()

Type Number

Returns a new Number representing the Boolean value where 1 presents true and 0 represents false.