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

7 lines
255 B
TypeScript

/**
* 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;