Number list
This function filters a number list using the given comparison.
filterByValue(numberList, operator, number) #Output: Number list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns a number list of values greater than 10: 11, 25, 100 |
|
Bash
|
This example returns a number list of values less than or equal to 10: 1, 2, 3, 10 |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number list |
Any given number list. |
|
|
operator |
One of the allowed comparison operators. |
|
|
Number |
Any given number that will be used in combination with the operator to filter the given list. |
Output
This function returns a number list
Text list
This function filters a text list using the given comparison.
filterByValue(textList, operator, text) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns a text list of texts containing the charater "r": Robert,Mark |
|
Bash
|
This example returns a text list with all elements that don't contain the charater "r": John,Kevin |
|
Bash
|
This example returns a text list with all labels from the current issue that contain the text "new", e.g. new, newFeature To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text list |
Any given text list. |
|
|
operator |
One of the allowed comparison operators. |
|
|
text |
Any given text that will be used in combination with the operator to filter the text list. |
Output
This function returns a text list
(books) Use cases and examples
| Use case |
|---|
| No content found. |