UNPKG

is-what

Version:

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

3 lines (2 loc) 149 B
/** Returns whether the payload is a positive Integer (but not 0) */ export declare function isPositiveInteger(payload: unknown): payload is number;