fn endsWith(comptime T: type, haystack: []const T, needle: []const T) bool
T: type,
haystack: []const T,
needle: []const T,