Boolean.valueOf( ) |
the boolean value of a Boolean object |
Availability
JavaScript 1.1; JScript 2.0; ECMAScript v1
Inherits from/Overrides
Overrides Object.valueOf( )
Synopsis
b.valueOf( )
Returns
The primitive boolean value held by the Boolean object
b.
Throws
- TypeError
-
If this method is invoked on an object that is not a Boolean.
|