Every
func Every[T any](slice []T, predicate func(value T, index int, slice []T) bool) bool
Every takes a slice of type T and a predicate function, returning true if the predicate returned true for every elements. The function is passed the current element, the current index and the slice itself as function arguments.