Skip to main content

select

Returns all the arguments passed to it after the index. Alternatively, if the string "#" is passed as the first argument, it returns the total number of arguments passed to it (including nils).

select(index: number, ...)

Arguments

NameDescriptionType
indexThe index of the first element, or alternatively the string "#".`number
argsThe arguments to select from.unknown