first

Basic data handling: DataListFirst

Returns the first element in a list. This node takes a list as input and returns the first 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
first_element*