Returns the index of the entry that matches internal filter function.
The following criteria expression always returns true.
index( list("a", "b", "c"), "b" ) == 1
This is a zero-based index so a match on the first entry returns an index of 0. The index function returns a -1 when the specified value was not found.