UNPKG

is-what

Version:

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

7 lines (6 loc) 261 B
import { PlainObject } from './isPlainObject.js'; /** * Returns whether the payload is an any kind of object (including special classes or objects with * different prototypes) */ export declare function isAnyObject(payload: unknown): payload is PlainObject;