elearning/Frontend-Learner/node_modules/is-what/dist/isPrimitive.d.ts
2026-01-13 10:48:02 +07:00

6 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;