Skip to content

element_at

function element_at(column, index): Column;

Defined in: functions/collection.ts:119

Returns the element at the given (1-based) index in the array or the value for the given key in a map. index accepts a Column, a column-name string, or a numeric literal. For a literal map key use lit("key") explicitly.

Parameter Type
column ColOrName
index number | ColOrName

Column