The Boolean object is an object wrapper for a boolean value.
The Boolean object is an object wrapper for a boolean value.
(length this)Property.
Length property whose value is 1.
Property. Length property whose value is 1.
(prototype this)Property.
The Boolean.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/prototype
Property. The Boolean.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/prototype`
(set-length! this val)Property.
Length property whose value is 1.
Property. Length property whose value is 1.
(set-prototype! this val)Property.
The Boolean.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/prototype
Property. The Boolean.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/prototype`
(to-source this & args)Method.
[Non Standard]
The toSource() method returns a string representing the source of the object.
booleanObj.toSource() Boolean.toSource()
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toSource
Method. [Non Standard] The toSource() method returns a string representing the source of the object. `booleanObj.toSource() Boolean.toSource()` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toSource`
(to-string this)Method.
The toString() method returns a string representing the specified object.
bool.toString()
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toString
Method. The toString() method returns a string representing the specified object. `bool.toString()` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toString`
(value-of this)Method.
The valueOf() method returns the primitive value of a js.Boolean
bool.valueOf()
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/valueOf
Method. The valueOf() method returns the primitive value of a `js.Boolean` `bool.valueOf()` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/valueOf`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |