List.findIndex

nint findIndex(in T item, delegate bool(in T left, in T right) equals, nuint startAt = 0, nuint count = ^0)

Returns the first matching index, or -1 when no match is found.

Parameters

in T
item
delegate bool(in T left, in T right)
equals
nuint
startAt = 0
nuint
count = ^0

Generated with campc v0.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.