UNPKG

335 BTypeScriptView Raw
1/**
2 * @name isNull
3 * @summary Tests for a `null` values.
4 * @description
5 * Checks to see if the input value is `null`.
6 * @example
7 * <BR>
8 *
9 * ```javascript
10 * import { isNull } from '@polkadot/util';
11 *
12 * console.log('isNull', isNull(null)); // => true
13 * ```
14 */
15export declare function isNull(value?: unknown): value is null;