Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](s []T, e T) bool
Contains returns true if s slice contains e element.
func IsUnique ¶ added in v0.11.0
func IsUnique[T comparable](s []T) bool
IsUnique returns true if all elements in the slice are unique.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.