GetValuesFromArrayOfObjects Op

GetValuesFromArrayOfObjects

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


<p>example:</p> <pre><code>[ {a:1,b:2,c:3}, {a:4,b:5,c:6}, {a:7,b:8,c:9}, ] </code></pre> <p>Key <code>a</code> would output <code>1,4,7</code> Key <code>b</code> would output <code>2,5,8</code> Key <code>c</code> would output <code>3,6,9</code></p>


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


INPUT PORTS


Array (Array)
Key (String)
Numbers Only (Number:

<i>boolean</i>

)

Remove empty/invalid (Number:

<i>boolean</i>

)

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