fn indexOfDiff(comptime T: type, a: []const T, b: []const T) ?usize

Compares two slices and returns the index of the first inequality. Returns null if the slices are equal.

Parameters

T: type,
a: []const T,
b: []const T,