Get Array Value | hyperPad Documentation

Loading...

Logo
DocumentationCustomGet Array Value
Custom

Get Array Value

Published September 28, 2018

Description

Get a value from an Array.

Properties

Triggers Immediately

Array Type

Behavior: Perform the function on an Array behavior.

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.

Select

First Value: Get the first value in the array. This is the same as selecting index 0.

Value at Index: Get a value from a specified index in an array. Note that the first value would be index 0. Eg. If you have an array with values [cat, pickles, dog], value at index 1 would be 'pickles'.

Last Value: Get the last value in the array. If the array only has one value, it will be the same as selecting the first value.

Outputs

Array Value

Outputs a single value of an array.

Examples

If you have an array that represents a deck of cards, selecting the first value will get the card on top of the deck.

Array

Box Container

Dictionary

Get Dictionary Value

Modify Array

Modify Dictionary

Value

Get Array Value