Boolean
Module | ejs |
Definition | final class Boolean |
Inheritance | Boolean ![]() |
Stability | Stable. |
Boolean class.
The Boolean class is used to create two immutable boolean values: "true" and "false".
Properties
Qualifiers | Property | Type | Description |
---|---|---|---|
No properties defined |
Boolean Methods
Qualifiers | Method |
---|---|
Boolean(value: Boolean = false) | |
Boolean constructor. |
Method Detail
public Boolean(value: Boolean = false)
Boolean constructor.
- Description
- 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.