Nodes/comfy-ovum/_.findWhere
ComfyUI Node

_.findWhere

Looks through the list and returns the first value that matches all of the key-value pairs listed in properties. If no match is found, or if list is empty, undefined will be returned.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.findWhere
  • list_or_dict
  • properties
  • *
Categoryovum/underscore

Inputs (2)

NameTypeDefaultDescription
list_or_dictopt*Primary input object (expected collection). You can still pass any JSON-serializable value. Also accepts _.CHAIN to continue chaining.
propertiesopt*properties: JSON allowed for arrays/objects where applicable.

Outputs (1)

NameTypeDescription
**