Boolean API

The Boolean global object is a constructor for Boolean values. Boolean values are represented as true or false.

4 Total 3 Methods 1 Properties 2 Statics
  Show all

new Boolean(…)

Creates a new Boolean object.Boolean.Boolean([value])

Boolean.prototype

The prototype of the Boolean constructor.Boolean.prototype

toString()

Returns a string representing the specified Boolean object.b.toString()

valueOf()

Returns the primitive value of a Boolean object.b.valueOf()

toString()

method

Returns a string representing the specified Boolean object. b.toString()

You seem to be offline. App may not work.