Nodes/comfy-ovum/_.findKey
ComfyUI Node

_.findKey

Similar to _.findIndex but for keys in objects. Returns the key where the predicate truth test passes or undefined. predicate is transformed through iteratee to facilitate shorthand syntaxes.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.findKey
  • py_dict
  • predicate
  • *
predicate_json
Categoryovum/underscore

Inputs (3)

NameTypeDefaultDescription
py_dictopt*Primary input object (expected object). You can still pass any JSON-serializable value. Also accepts _.CHAIN to continue chaining.
predicateopt*predicate: ANY input to override widget. Accepts function, key string, or object shorthand.
predicate_jsonoptSTRINGpredicate_json: JSON or key selector. Used when 'predicate' input is not connected.

Outputs (1)

NameTypeDescription
**