Files
common/docs/util/modules/_is_null_.md
T
2018-11-21 11:31:24 +00:00

39 lines
609 B
Markdown

# Functions
<a id="isnull"></a>
## isNull
▸ **isNull**(value: *`any`*): `boolean`
*Defined in [is/null.ts:20](https://github.com/polkadot-js/common/blob/3bc1b75/packages/util/src/is/null.ts#L20)*
*__name__*: isNull
*__signature__*: isNull (value: any): boolean
*__summary__*: Tests for a `null` values.
*__description__*: Checks to see if the input value is `null`.
*__example__*:
```javascript
import { isNull } from '@polkadot/util';
console.log('isNull', isNull(null)); // => true
```
**Parameters:**
| Name | Type |
| ------ | ------ |
| value | `any` |
**Returns:** `boolean`
___