Checks if value is boolean, acts as a typescript safeguard.
boolean
[true, 'b', false].filter(isBoolean)> [true, false] Copy
[true, 'b', false].filter(isBoolean)> [true, false]
Checks if value is
boolean
, acts as a typescript safeguard.