Back to Types
typeof
Get the type tag of a value.
Syntax
typeof(x) → Type tag string
Backends
TypeScript
Description
Get the type tag of a value.
Parameters
| Name | Description |
|---|---|
| x | Any value |
Returns
Type tag string