last

Basic data handling: DataListLast

Returns the last element in a list. This node takes a list as input and returns the last element of the list. If the list is empty, it returns None.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
list*required

Outputs (1)

NameType
last_element*