UNPKG

@lou.codes/predicates

Version:
17 lines (16 loc) 399 B
/** * `typeof` "object" alias. * * @category Objects * @example * ```typescript * isObject({}); // true * isObject([]); // true * isObject(new Date()); // true * isObject(null); // false * ``` * @returns `true` if the given value is an `object`, `false` otherwise. */ export declare const isObject: ( input: unknown, ) => input is import("@lou.codes/types").TypeOfDictionary["object"];