ComfyUI Node

_.chunk

Chunks an array into multiple arrays, each containing length or fewer items.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.chunk
  • py_list
  • LIST
length1
Categoryovum/underscore

Inputs (2)

NameTypeDefaultDescription
py_listopt*Primary input object (expected array). You can still pass any JSON-serializable value. Also accepts _.CHAIN to continue chaining.
lengthoptINT1length (int)

Outputs (1)

NameTypeDescription
LISTLIST