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: 30 November, 2023