isPrimitive(input: unknown): input is string | number | bigint | boolean
Check whether a value is a primitive
Parameters
| Parameter | Type | Description |
|---|
input | unknown | The input to check |
Returns
input is string | number | bigint | boolean
Defined in
isPrimitive.ts:7