Functions
isUndefined
▸ isUndefined(value?: any): boolean
Defined in is/undefined.ts:19
name: isUndefined
summary: Tests for a undefined values.
description: Checks to see if the input value is undefined.
example:
import { isUndefined } from '@polkadot/util';
console.log('isUndefined', isUndefined(void(0))); // => true
1
2
3
2
3
Parameters:
| Name | Type |
|---|---|
Optional value | any |
Returns: boolean