Skip to content

ListValue.get method

ListValue › get

Gets the element at an index.

Signature:

get(index: number): Value

Parameters:

ParameterTypeDescription
indexnumberThe zero-based index.

Returns: Value — NullValue.value when the index is out of range or the element is null or undefined. A Value element as it is. Any other element converted by ListValue.lazyEvaluator, which replaces it in ListValue.data.