List Count
List Count
Section titled “List Count”Type: list-count · Package: Collections Activities v1.0.0 · Output: int
Gets how many elements a list has and saves it to a variable.
How it works
Section titled “How it works”Count the elements of list and store the number in outputVariable.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
list | expression | The list. |
outputVariable | nombre de variable | Variable where to save the count. |
Example
Section titled “Example”List Count list = = pendientes outputVariable = totalLog message = = "Hay " + total + " pendientes"Related activities
Section titled “Related activities”- Get List Item — read an item by index.
- List Contains — check if an item is present.