isBoolean

Lang
since 0.1.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is a boolean, else `false`.

Checks if value is classified as a boolean primitive or object.

Example of Lodash _.isBoolean

_.isBoolean(false);
// => true

_.isBoolean(null);
// => false