find by key - multiple values
This block is part of the array group and was last modified in core v10.4.28.
Type Selection Required
This block requires you to select the data type you want to work with. You must manually select the type using the type selector modal. To access the modal, click the white button on the block.
Field Selection Required
This block requires field selection (in). You must manually select the fields you want to work with using the field selector modal. To access the modal, click the white button on the block.
find by key - multiple values v10.4.28 Returns the matching objects for the given key value pairs.
- array required
arrayThe array to get the objects from.
- field required
valueField in array of objects to match with.
- results
arrayOutput array with the objects that match the key value.
- indexes
arrayThe original positions in the input array of each matched item.
KEEPS items whose key field equals ANY value in the comparison array (a single non-array value acts as one candidate), outputting matches on array and their original positions on array_indexes. With key empty the item ITSELF is compared, so flat value arrays work. Numbers match across int/float representations, but numeric strings do NOT match numbers; non-object items are dropped when a key is set.
where key |
A typical wiring for find by key - multiple values: the array out pin feeds length.
Version history
Introduced in v10.4.28.
Back to
array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group 