You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Supported list types

Number list

The function returns the last element (NUMBER) in the number list l, or null if l is an empty list.

Syntax
last(number list l) #Output: Number
Examples
Parser expressionDescription
last([3, 2, 1, 0]) 

The function returns the NUMBER : 0

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a NUMBER


Text list

The function returns the first element in string list l, or null if l is an empty list.

Syntax
last(string list l) #Output: Text
Examples
Parser expressionDescription
last(["blue", "red", "green"])

The function returns the TEXT : "green"

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT