Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Excludes ¶
func Excludes[T comparable](src []T, ts ...T) []T
Excludes returns the elements in src that are not in ts.
func Includes ¶
func Includes[T comparable](src []T, ts ...T) []T
Includes returns the elements in src that are in ts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.