Checks if the provided value is a boolean.
const result1 = isBoolean(true); // trueconst result2 = isBoolean(1); // falseconst result3 = isBoolean('test'); // false
The value to check.
Checks if the provided value is a boolean.
Example