This commit is contained in:
Mrhongxing committed 2026-11-04 14:22:20 +08:00
commit 4aaaf23d2f
2411 files changed
+1248679

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
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;