asBoolean

Returns this value as a JavaScript boolean primitive.

Throws

when this value is not a JavaScript boolean primitive.