es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
10 lines (8 loc) • 362 B
text/typescript
declare function isArrayLikeObject<T extends {
__lodashAnyHack: any;
}>(value: T): boolean;
declare function isArrayLikeObject(value: ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is never;
declare function isArrayLikeObject(value: any): value is object & {
length: number;
};
export { isArrayLikeObject };