Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](s Set[T], x T) bool
Check if set contains specified element.
func Values ¶
func Values[T comparable](s Set[T]) []T
Get values of set as slice; order is not predictable. Will return an empty non-nil slice in case the set is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.