UNPKG

is-what

Version:

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.

3 lines (2 loc) 126 B
/** Returns whether the payload is a an empty array */ export declare function isEmptyArray(payload: unknown): payload is [];