Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶ added in v0.16.14
func Contains[T comparable](collection []T, element T) bool
Contains returns true if an element is present in a collection.
func Keys ¶
func Keys[T comparable, U any](m map[T]U) []T
func Values ¶ added in v0.16.14
func Values[K comparable, V any](in ...map[K]V) []V
Values creates an array of the map values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.