Object | +-Boolean public class Boolean extends Object
The Boolean class is a wrapper object with the same functionality as the standard JavaScript Boolean object. Use the Boolean class to retrieve the primitive data type or string representation of a Boolean object.
You must use the constructor new Boolean() to create a Boolean object before calling its methods.
Properties inherited from class Object
|
constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property) |
|
Signature |
Description |
|---|---|
|
Creates a Boolean object. |
|
Modifiers |
Signature |
Description |
|---|---|---|
|
|
Returns the string representation ("true" or "false") of the Boolean object. |
|
|
|
Returns true if the primitive value type of the specified Boolean object is true; false otherwise. |
Methods inherited from class Object