Nodes/comfy-ovum/_.grouper
ComfyUI Node

_.grouper

https://stackoverflow.com/questions/312443/how-do-you-split- a-list-into-evenly-sized-chunks/312644#312644 grouper(3, 'abcdefg', 'x') -- ('a','b','c'), ('d','e','f'), ('g','x','x')

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.grouper
  • obj
  • fillvalue
  • *
n1
Categoryovum/underscore

Inputs (3)

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

Outputs (1)

NameTypeDescription
**