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

ArrayOfObjectsFilterKeys Op

Namespace: Ops.Array

Op author: simod

remove key-value pairs from objects in an array of objects

Use this op on an array of objects to "slim out" objects.

var obj = { animal: "dog", humanoid: "arnold from terminator 2", lunch: "pasta" };

// specify keys humanoid & lunch, the resulting object becomes
obj = { humanoid: "arnold from terminator 2", lunch: "pasta" }

// inverting the filter, the resulting object becomes
obj = { animal: "dog" }


Array (Array)

array of objects input

Keys (String)

keys to keep in the objects

Seperator (String)

the character to seperate the keys

Invert Filter (boolean /Number)

inverts the operation, drops all specified keys


Array Out (Array)

the resulting array of objects

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

ArrayOfObjects ops example

Patches using ArrayOfObjectsFilterKeys

  • Examples
  • Public
  • My Patches


created op
2020-04-14 - simod
Ops.User.simod.ArrayOfObjectsFilterKeys renamed to Ops.Array.ArrayOfObjectsFilterKeys
2020-04-14 - simod