ComfyUI Node

_.last

Returns the last element of an array. Passing n will return the last n elements of the array.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
_.last
  • py_list
  • *
n1
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.
noptINT1n (int)

Outputs (1)

NameTypeDescription
**