UNPKG

is-what

Version:

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

3 lines (2 loc) 111 B
/** Returns the object type of the given payload */ export declare function getType(payload: unknown): string;