@tetcoin/util
Version:
A collection of useful utilities for @tetcoin
16 lines (15 loc) • 330 B
TypeScript
/**
* @name isNull
* @summary Tests for a `null` values.
* @description
* Checks to see if the input value is `null`.
* @example
* <BR>
*
* ```javascript
* import { isNull } from '@tetcoin/util';
*
* console.log('isNull', isNull(null)); // => true
* ```
*/
export default function isNull(value?: any): value is null;