@lou.codes/predicates
Version:
🧐 Predicate util functions
16 lines (15 loc) • 396 B
TypeScript
/**
* `typeof` "undefined" alias.
*
* @category Primitives
* @example
* ```typescript
* isUndefined(undefined); // true
* isUndefined(null); // false
* ```
* @param input Value to check.
* @returns Returns `true` if value is `undefined`, `false` otherwise.
*/
export declare const isUndefined: (
input: unknown,
) => input is import("@lou.codes/types").TypeOfDictionary["undefined"];