Supported list types
Number list
This function inverts the order of a given number list.
invertList(numberList) #Output: Number list
Text list
Variant for text lists.
invertList(textList) #Output: Text list
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 11 Next »
This function inverts the order of a given number list.
invertList(numberList) #Output: Number list
Parser expression | Description |
---|---|
invertList([1, 2, 3]) | This example returns: [3, 2, 1] |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
numberList | NUMBER LIST | Any given number list. |
This function returns a NUMBER LIST
Variant for text lists.
invertList(textList) #Output: Text list
Parser expression | Description |
---|---|
invertList(["first", "second", "third"]) | This example returns: ["third", "second", "first"] |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
textList | TEXT LIST | Any given text list. |
This function returns a TEXT LIST
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG