Documentation
¶
Index ¶
- func Clone[T any](src []T) []T
- func Common[T comparable](slice1 []T, slice2 []T, min int) bool
- func Contains[T comparable](wanted T, slice ...T) bool
- func Interface[T any](values []T) []any
- func Prepend[T any](s []T, v T) []T
- func Remove[T comparable](values []T, drop ...T) []T
- func Shuffle[T any](slice []T) []T
- func String[T any](values []T) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Common ¶
func Common[T comparable](slice1 []T, slice2 []T, min int) bool
func Contains ¶
func Contains[T comparable](wanted T, slice ...T) bool
func Remove ¶
func Remove[T comparable](values []T, drop ...T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.