ComfyUI Node
slice
Creates a slice of a list. This node takes a list and start/stop/step parameters, and returns a new list containing the specified slice of the original list.
slice
- list
- list
◄start0►
◄stop32767►
◄step1►
CategoryBasic/Data List
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| list | * | — | |
| startopt | INT | 0 | — |
| stopopt | INT | 32767 | — |
| stepopt | INT | 1 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| list | * | — |