fn indexOfSentinel(comptime Elem: type, comptime sentinel: Elem, ptr: [*:sentinel]const Elem) usize

Parameters

Elem: type,
sentinel: Elem,
ptr: [*:sentinel]const Elem,