findIndex
nint findIndex<T: any>(const T[] this, in T item, delegate bool(in T left, in T right) equals, sizeof(T))Finds the first matching item in an array.
Returns
The zero-based index of the first match, or -1 when no match exists.
Parameters
const
this
in T
item
The item to find.
delegate bool(in T left, in T right)
equals
Returns true when an array item matches item.
nuint
sizeof(T)
Generated with campc v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.