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

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

Like strspn in the C standard library, but searches from the end.

Parameters

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