# Functions
AppendMatching appends elements in ps to dst if f(x) is true.
CutPrefix returns s without the provided leading prefix slice and reports whether it found the prefix.
CutSuffix returns s without the provided ending suffix slice and reports whether it found the suffix.
EqualSameNil reports whether two slices are equal: the same length, same nilness (notably when length zero), and all elements equal.
Filter calls fn with each element of the provided src slice, and appends the element to dst if fn returns true.
FirstEqual reports whether len(s) > 0 and its first element == v.
HasPrefix reports whether the byte slice s begins with prefix.
HasSuffix reports whether the slice s ends with suffix.
Interleave combines two slices of the form [a, b, c] and [x, y, z] into a slice with elements interleaved; i.e.
LastEqual reports whether len(s) > 0 and its last element == v.
Partition returns two slices, the first containing the elements of the input slice for which the callback evaluates to true, the second containing the rest.
Shuffle randomly shuffles a slice in-place, similar to rand.Shuffle.