Boolean

Moduleejs
Definitionfinal class Boolean
InheritanceBoolean inherit Object
StabilityStable.

Boolean class from which to create true and false values.


Properties

(No own properties defined)


Boolean Class Methods

(No own class methods defined)

QualifiersMethod

Boolean Instance Methods

QualifiersMethod
Boolean(value: Boolean = false)
 Boolean constructor.

Method Detail

Boolean(value: Boolean = false)
Description
Boolean constructor. Construct a Boolean object and initialize its value. Since Boolean values are immutable, this constructor will return a reference to either the "true" or "false" values.
Parameters
value: Boolean Optional value to use in creating the Boolean object. If the value is omitted or 0, -1, NaN, false, null, undefined or the empty string, then the object will be created and set to false. [default: false]