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

+6
View File
@@ -0,0 +1,6 @@
/**
* Returns whether the payload is a primitive type (eg. Boolean | Null | Undefined | Number | String
*
* | Symbol)
*/
export declare function isPrimitive(payload: unknown): payload is boolean | null | undefined | number | string | symbol | bigint;