UNPKG

@lou.codes/predicates

Version:
16 lines (15 loc) 396 B
/** * `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"];