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

Compare with Current View Page History

« Previous Version 8 Next »

Supported list types

Number list

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

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

This example returns the number 3, which is the first element of the number list l.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER


Text list

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

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

This example returns the text: "blue", which is the first element of the text list l.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT


Issue list

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

Syntax
first(issue list l) #Output: Issue list
Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns an ISSUE LIST