You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The States.ArrayLength intrinsic function returns the length of an array. It has one argument, the array to return the length of.
For example, given the following input array:
json{ "inputArray": [1,2,3,4,5,6,7,8,9] }
You can use States.ArrayLength to return the length of inputArray:
json"length.$": "States.ArrayLength($.inputArray)"
In this example, States.ArrayLength would return the following JSON object that represents the array length:
json{ "length": 9 }
The text was updated successfully, but these errors were encountered:
States.ArrayLength
The States.ArrayLength intrinsic function returns the length of an array. It has one argument, the array to return the length of.
For example, given the following input array:
json{ "inputArray": [1,2,3,4,5,6,7,8,9] }
You can use States.ArrayLength to return the length of inputArray:
json"length.$": "States.ArrayLength($.inputArray)"
In this example, States.ArrayLength would return the following JSON object that represents the array length:
json{ "length": 9 }
The text was updated successfully, but these errors were encountered: