_.isBoolean(value)
Checks if value
is classified as a boolean primitive or object.
Since
0.1.0
Arguments
-
value
(*): The value to check.
Returns
(boolean): Returns true
if value
is a boolean, else false
.
Example
1 2 3 4 5 | _.isBoolean( false ); // => true _.isBoolean( null ); // => false |
Please login to continue.