Files
common/docs/util/modules/_is_undefined_.md
T
2019-02-25 16:09:47 +00:00

37 lines
632 B
Markdown

# Functions
<a id="isundefined"></a>
## isUndefined
▸ **isUndefined**(value?: *`any`*): `boolean`
*Defined in [is/undefined.ts:19](https://github.com/polkadot-js/common/blob/6610403/packages/util/src/is/undefined.ts#L19)*
*__name__*: isUndefined
*__summary__*: Tests for a `undefined` values.
*__description__*: Checks to see if the input value is `undefined`.
*__example__*:
```javascript
import { isUndefined } from '@polkadot/util';
console.log('isUndefined', isUndefined(void(0))); // => true
```
**Parameters:**
| Name | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** `boolean`
___