Value.isPrimitive Function
Is the value a primitive
isPrimitive(value: Value): value is string | number | boolean | undefined
| Parameter | Type | Description |
|---|---|---|
| value | Value |
Returns - value is string | number | boolean | undefined
Defined in
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.