Nodes/comfy-ovum/_.defaults
ComfyUI Node

_.defaults

Returns object after filling in its undefined properties with the first value present in the following list of defaults objects.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.defaults
  • py_dict
  • defaults
  • DICT
Categoryovum/underscore

Inputs (2)

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

Outputs (1)

NameTypeDescription
DICTDICT