629 B
629 B
Functions
isBoolean
▸ isBoolean(value: any): boolean
Defined in is/boolean.ts:20
name: isBoolean
signature: isBoolean (value: any): boolean
summary: Tests for a boolean value.
description: Checks to see if the input value is a JavaScript boolean.
example:
import { isBoolean } from '@polkadot/util';
isBoolean(false); // => true
Parameters:
| Param | Type |
|---|---|
| value | any |
Returns: boolean