R/duckdb-funs.R
array_indexof.Rd
Returns the index of the element if the list contains the element. If the element is not found, it returns NULL.
element
list
NULL
array_indexof(list = `T[]`, element = T)
T[]
T
INTEGER
array_indexof([1, 2, NULL], 2)