Documentation
¶
Index ¶
- func Intersect[T comparable](left, right []T) []T
- func Keys[Key comparable, Value any](incoming map[Key]Value) []Key
- func Member[T comparable](set []T, candidate T) bool
- func Membership[T comparable](set []T) map[T]bool
- func Set[T comparable](incoming []T) []T
- func Sort[T comparable](set []T) []T
- func Union[T comparable](left, right []T) []T
- func Update[T comparable](set []T, candidate T) ([]T, bool)
- func Values[Key, Value comparable](incoming map[Key]Value) []Value
- func With[T comparable](incoming ...T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Membership ¶
func Membership[T comparable](set []T) map[T]bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.