@lou.codes/predicates
Version:
🧐 Predicate util functions
17 lines (16 loc) • 399 B
TypeScript
/**
* `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"];