Skip to content

isBoolean ​

utilities
test coverage
Category
Utilities

Function to check if value is classified as a boolean primitive or object.

typescript
import { isBoolean } from '@bounceui';

Usage ​

typescript
import { isBoolean } from '@bounce-ui';

Api ​

Parameters

NameTypeDefaultNote
valueunknown-The value to be checked.

Returns

Boolean