ComfyUI Node
_.initial
Returns everything but the last entry of the array. Especially useful on the arguments object. Pass n to exclude the last n elements from the result.
_.initial
- py_list
- LIST
◄n1►
Categoryovum/underscore
Inputs (2)
| 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. | |
| nopt | INT | 1 | n (int) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |