Nodes/comfy-ovum/_.include
ComfyUI Node

_.include

Returns true if the value is present in the list. Uses indexOf internally, if list is an Array. Use fromIndex to start your search at a given index.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.include
  • obj
  • value
  • BOOLEAN
fromIndex0
Categoryovum/underscore

Inputs (3)

NameTypeDefaultDescription
objopt*Primary input object. Also accepts _.CHAIN to continue chaining.
valueopt*value: JSON allowed for arrays/objects where applicable.
fromIndexoptINT0fromIndex (int)

Outputs (1)

NameTypeDescription
BOOLEANBOOLEAN