Skip to content

Documentation / @ripl/utilities / typeIsBoolean

Function: typeIsBoolean() ​

typeIsBoolean(value): value is boolean

Defined in: packages/utilities/src/type.ts:21

Checks whether a value is a boolean.

Parameters ​

ParameterType
valueunknown

Returns ​

value is boolean