Documentation ¶
Index ¶
- func ExtractIntersectionValue[T comparable](aList, bList []T) []T
- func ExtractUnionValue[T comparable](aList, bList []T) []T
- func ExtractValue[T any, R any](s []T, addTo func(v T) (R, bool)) []R
- func RemoveRepeatElement[T comparable](elements []T) []T
- func ToMap[S any, K comparable, V any](slice []S, fn func(sliceValue S) (K, V, error)) (map[K]V, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractIntersectionValue ¶ added in v1.5.24
func ExtractIntersectionValue[T comparable](aList, bList []T) []T
func ExtractUnionValue ¶ added in v1.5.24
func ExtractUnionValue[T comparable](aList, bList []T) []T
func ExtractValue ¶ added in v1.4.4
func RemoveRepeatElement ¶
func RemoveRepeatElement[T comparable](elements []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.