List.binarySearch

nint binarySearch(in T item, delegate int(in T left, in T right) comparer, nuint startAt = 0, nuint count = ^0)

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

Parameters

in T
item
delegate int(in T left, in T right)
comparer
nuint
startAt = 0
nuint
count = ^0

Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.