Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.typeof
On this pageSignatureParametersReturnsExample

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) → string

Parameters

NameTypeRequiredDefaultDescription
valueanyYes—Value to inspect.

Returns

string

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.