fn isSorted(comptime T: type, items: []const T, context: anytype, comptime lessThan: fn (@TypeOf(context), T, T) bool) bool

Parameters

T: type,
items: []const T,
context: anytype,
lessThan: fn (@TypeOf(context), T, T) bool,