hap-fluent / isBoolean
Function: isBoolean()
ts
function isBoolean(value): value is boolean;Defined in: packages/hap-fluent/src/type-guards.ts:126
Determine whether value is a boolean.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | Value to test. |
Returns
value is boolean
true if typeof value === 'boolean'.