array.count
This function counts the length of an array.
Syntax
array.count(items)
Arguments
|
Argument |
Type |
Description |
|---|---|---|
|
items |
array of type any |
Array whose length needs to be counted. |
Returns
|
Type |
Description |
|---|---|
|
int |
Number that indicates the length of the array. |
Examples
- The function
array.count($Activity.array)returns2. - The function
array.count($flow.body.colors)returns3.