fn binarySearch(comptime T: type, key: anytype, items: []const T, context: anytype, comptime compareFn: fn (@TypeOf(context), @TypeOf(key), T) math.Order) ?usize

Parameters

T: type,
key: anytype,
items: []const T,
context: anytype,
compareFn: fn (@TypeOf(context), @TypeOf(key), T) math.Order,