Documentation
¶
Overview ¶
Package slices provides slice-related utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasPrefix ¶
func HasPrefix[T comparable](x []T, prefix []T) bool
HasPrefix evaluates if x contains prefix as its first len(prefix) elements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.