UNPKG

is-what

Version:

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

3 lines (2 loc) 130 B
/** Returns whether the payload is a Promise */ export declare function isPromise(payload: unknown): payload is Promise<unknown>;