Status
Tech review

Style guide




Short description

Returns the first element in the number, text, or issue list l, or  null if l is an empty list.

Output

Available since




Supported list types


Number list

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


first(number list l) #Output: Number



Parser expressionDescription


first([3, 2, 1, 0])


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



Parameters used in this function

ParameterInput (data type)Description
xxx

Parameter description.



This function returns a



Text list

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


first(string list l) #Output: Text



Parser expressionDescription


first(["blue", "red", "green"])


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



Parameters used in this function

ParameterInput (data type)Description
xxx

Parameter description.



This function returns a



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.


first(issue list l) #Output: Issue list




Parameters used in this function

ParameterInput (data type)Description
xxx

Parameter description.



This function returns an