beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

GetValuesFromArrayOfObjects Op

Ops.Array.GetValuesFromArrayOfObjects


GetValuesFromArrayOfObjects
Namespace: Ops.Array

Op author: pandur

Get an array of values by key of objects in an array


example:

[
 {a:1,b:2,c:3},
 {a:4,b:5,c:6},
 {a:7,b:8,c:9},
]

Key a would output 1,4,7
Key b would output 2,5,8
Key c would output 3,6,9



Inputs

Array (Array)
Key (String)
Numbers Only (boolean /Number)
Remove empty/invalid (boolean /Number)

Outputs

Result (Array)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

GetValuesFromArrayOfObjects example

Open Example In Editor

Patches using GetValuesFromArrayOfObjects

Changelog


created op
2019-10-14 - pandur
Ops.Array.ArrayOfObjectsGetNumberArray renamed to Ops.Array.ArrayOfObjectsValueArray
2019-10-14 - pandur
Ops.Array.ArrayOfObjectsValueArray renamed to Ops.Array.GetValuesFromArrayOfObjects
2019-10-14 - pandur