ComfyUI Node

_.only

Return a version of the array that only contains the specified value(s), or object that only contains the specified key(s)

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.only
  • obj
  • values
  • *
Categoryovum/underscore

Inputs (2)

NameTypeDefaultDescription
objopt*Primary input object. Also accepts _.CHAIN to continue chaining.
valuesopt*values: JSON allowed for arrays/objects where applicable. For multiple values, provide a JSON array (e.g., [1,2,3]).

Outputs (1)

NameTypeDescription
**