Skip to content

iter::firstOrNil ​

firstOrNil(items) ​

ParameterTypeDescription
itemsIterable

Returns ​

(*) The first element of the given iterable object, or nil if the Iterable is empty