ComfyUI Node

_.get

Returns the specified property of object. path may be specified as a simple key, or as an array of object keys or array indexes, for deep property fetching. If the property does not exist or is undefined, the optional default is returned.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.get
  • py_dict
  • default
  • *
path
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.
pathoptSTRINGpath (string)
defaultopt*default: JSON allowed for arrays/objects where applicable.

Outputs (1)

NameTypeDescription
**