Loading...

Logo
DocumentationBehaviorsLogicGet Array Count
Logic

Get Array Count

Last updated September 28, 2018

Description

Get the number of values that are stored in the array.

Properties

Triggers Immediately

Array Type

Behaviour: Perform the function on an Array behaviour.

Value: Perform the function on a JSON formatted value. When entering a dictionary JSON value, the array will be the list of keys in the dictionary.

Outputs

Count

Outputs the number of values stored in an array.

Examples

If you want to loop through all the values in the array with the Loop behaviour, you'll need to know how many objects are stored in the array. Eg. if you have an array containing ['cat', 'dog', 'monkey'] it will output 3.

Sort Array

GetArrayCountReference.gif