GetValuesFromArrayOfObjects Op

GetValuesFromArrayOfObjects

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


Full Name
  • Ops.Array.GetValuesFromArrayOfObjects
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


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

OUTPUT PORTS


Result (Array)

Patches using GetValuesFromArrayOfObjects

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2019-10-14 15:02
Ops.Array.ArrayOfObjectsGetNumberArray renamed to Ops.Array.ArrayOfObjectsValueArrayuser avatarpandur - 2019-10-14 15:03
Ops.Array.ArrayOfObjectsValueArray renamed to Ops.Array.GetValuesFromArrayOfObjectsuser avatarpandur - 2019-10-14 20:16