Value.isPrimitive Function
Is the value a primitive
isPrimitive(value: Value): value is undefined | string | number | boolean
Parameter | Type | Description |
---|---|---|
value | Value |
Returns - value is undefined | string | number | boolean
Defined in
Last Updated: 20 June, 2023