Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


) in the number/, text, or issue list l, or  null if l is an empty list.

Short description

Returns the first element (

Status
subtletrue
titlenumber/text
Output

Status
subtletrue
titlenumber/text
Status
subtletrue
titletext
Status
subtletrue
titleissue list

Available since

Status
subtletrue
colourBlue
title2.1.26




Panel

Supported list types

Table of Contents
exclude(Supported list types).*
stylecircle
typeflat
separatorpipe


Number list

) in the number list l, or  null if l is an empty list.

UI Text Box
sizemedium
typeinfo

The This function returns the first element (

Status
subtletrue
titlenumber


Code Block
languagebash
titleSyntax
linenumberstrue
first(number list l) #Output: Number


UI Expand
titleExamples


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

Parser expressionDescription


Code Block
languagebash
linenumberstrue
first([3, 2, 1, 0])


The function returns the

Status
subtletrue
titlenumber



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titlenumber



Text list

UI Text Box
sizemedium
typeinfo

Returns This function returns the first element (

Status
subtletrue
titletext
) in the text list l, or null if l is an empty list.


Code Block
languagebash
titleSyntax
linenumberstrue
first(string list l) #Output: Text


UI Expand
titleExamples


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

Parser expressionDescription


Code Block
languagebash
linenumberstrue
first(["blue", "red", "green"])


The function returns the

Status
subtletrue
titletext



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titletext



Issue list

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

UI Text Box
sizemedium
typeinfo

The function returns an 

Status
subtletrue
title


Code Block
languagebash
titleSyntax
first(issue list l) #Output: Issue list


UI Expand
titleExamples



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The This function returns an

Status
subtletrue
titleissue list