UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

20 lines (19 loc) 390 B
/** * Checks if `value` is `undefined`. * * @since 5.6.0 * @category Lang * @param value The value to check. * @returns Returns `true` if `value` is `undefined`, else `false`. * @example * * ```js * isUndefined(void 0) * // => true * * isUndefined(null) * // => false * ``` */ export declare function isUndefined(value: any): value is undefined; export default isUndefined;