fn indexOfNone(comptime T: type, slice: []const T, values: []const T) ?usize

Find the first item in slice which is not contained in values.

Comparable to strspn in the C standard library.

Parameters

T: type,
slice: []const T,
values: []const T,