Page History
Page properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| Status | |||||||||
Tech review |
| |||||||||
Style guide |
|
Status | ||
---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
hidden | true |
---|
Returns the nth element of a number, text or issue list.
Supported list types
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Number list
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function returns the nth element of the given number list. N specifies the position of an element in a list. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nthElement(numberList, position) #Output: Number |
UI Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
|
UI Expand | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
Parameters used in this function
|
UI Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
This function returns a
If the position is out of bounds (
If the number list is empty, the function returns
|
Text list
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function returns the nth element of the given text list. N specifies the position of an element in a list. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nthElement(textList, position) #Output: Text |
UI Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
|
UI Expand | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
Parameters used in this function
|
UI Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
This function returns a
If the position is out of bounds (
If the text list is empty, the function returns
|
Issue list
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function returns an issue list with the nth element of the given issue list. N specifies the position of an element in a list. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nthElement(issueList, position) #Output: Issue list |
UI Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
|
UI Expand | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
Parameters used in this function
|
UI Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
This function returns an
If the position is out of bounds (
If the issue list is empty, the function returns an empty
|
Page properties | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
|