Determines if a value is a boolean.
isBoolean(true); // => trueisBoolean(false); // => trueisBoolean('abc'); // => false Copy
isBoolean(true); // => trueisBoolean(false); // => trueisBoolean('abc'); // => false
The value to check.
A boolean indicating whether the value is a boolean or not.
Determines if a value is a boolean.
Example