isBoolean
isBoolean(target)
Checks if a value is a boolean.
ts
isBoolean(true); // true
isBoolean("true"); // false
ts
pipe(true, isBoolean()); // true
pipe("true", isBoolean()); // false