578 B
578 B
Functions
isBoolean
▸ isBoolean(value: any): boolean
Defined in is/boolean.ts:19
name: isBoolean
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:
| Name | Type |
|---|---|
| value | any |
Returns: boolean