Utilities / Reference
alerta.typeof
TradingView-compatible spelling: typeof, runs without warnings
Returns the runtime type name of a value, or series type for arrays.
alerta.typeof(value) → stringParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
value | any | Yes | — | Value to inspect. |
Returns
stringExample
alerta.typeof
t = typeof(close)if barstate.islast label.new(bar_index, high, t)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.