Files
CtrlCash/node_modules/is-what/dist/isPlainObject.d.ts
2025-10-29 19:56:41 -03:00

9 lines
292 B
TypeScript

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;