ComfyUI Node
_.range
A function to create flexibly-numbered lists of integers, handy for each and map loops. start, if omitted, defaults to 0; step defaults to 1 if start is before stop, otherwise -1. Returns a list of integers from start (inclusive) to stop (exclusive), incremented (or decremented) by step.
_.range
- py_list
- LIST
◄start0►
◄stop0►
◄step1►
Categoryovum/underscore
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| py_listopt | * | Primary input object (expected array). You can still pass any JSON-serializable value. Also accepts _.CHAIN to continue chaining. | |
| startopt | INT | 0 | start (int) |
| stopopt | INT | 0 | stop (int) |
| stepopt | INT | 1 | step (int) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |