@flex-development/tutils
Version:
TypeScript utilities
14 lines (13 loc) • 344 B
text/typescript
/**
* @file Type Guards - isNIL
* @module tutils/guards/isNIL
*/
import type { NIL } from '../types/index.cjs';
/**
* Checks if `value` is a {@link NIL}.
*
* @param {any} [value] - Value to check
* @return {boolean} `true` if `value` is `null` or `undefined`
*/
declare const isNIL: (value?: any) => value is NIL;
export default isNIL;