Files
Library/node_modules/is-what/dist/isPlainObject.d.ts

9 lines
292 B
TypeScript
Raw Normal View History

2026-01-09 23:05:52 -05:00
export type PlainObject = {
[key in string | number | symbol]: unknown;
};
/**
* Returns whether the payload is a plain JavaScript object (excluding special classes or objects
* with other prototypes)
*/
export declare function isPlainObject(payload: unknown): payload is PlainObject;