beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
ArrayOfObjectsFilterKeys
Ops.Array.ArrayOfObjectsFilterKeys
Namespace: Ops.Array
remove key-value pairs from objects in an array of objects

summary (oneliner)

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" }

doc

issues

youtube id

collections

related ops

Inputs

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


Outputs

Array Out (Array)

the resulting array of objects


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
ArrayOfObjects ops example:


Credits


Changelog


created op
2020-04-14 - simod

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

Examples using ArrayOfObjectsFilterKeys

Public Patches using ArrayOfObjectsFilterKeys