indexOf

fun indexOf(search: Any, array: Any): Expression

["index-of", search, array]. Evaluated on GLES as well as by Mapbox native layers.