Array length
Returns the length of an array. Array length lives in the Array category of the fx menu.
Parameter
Section titled “Parameter”Input is the primary value (previous step output or a literal).
Returned value
Section titled “Returned value”Limitations
Section titled “Limitations”- Array arguments must be valid JSON arrays. Invalid JSON or non-array values raise an error.
Example
Section titled “Example”Get an array length
Return how many elements are in a JSON array.
-
Set Input to a JSON array. Paste:
Input ["a","b","c"] -
Confirm Output value is
3.