isBoolean
Callable
Parameters
obj: unknown
The value to be checked for boolean.
Returns obj is boolean
Returns true if the passed argument is a boolean, otherwise false.
The value to be checked for boolean.
Returns true if the passed argument is a boolean, otherwise false.
Checks if the passed argument is a boolean or not.