Documentation
¶
Index ¶
- func CopyMap[M1 ~map[K]V, M2 ~map[K]V, K comparable, V any](dst M1, src M2) M1
- func FilterFunc[S ~[]E, E any](s S, f func(E) bool) S
- func LastIndex[S ~[]E, E comparable](s S, v E) int
- func LastIndexFunc[S ~[]E, E any](s S, f func(E) bool) int
- func MapFunc[S ~[]E, E any, R any](s S, f func(E) R) []R
- func ToEntries[K comparable, V any](source *orderedmap.OrderedMap[K, V]) []*orderedmap.Element[K, V]
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyMap ¶ added in v0.1.1
func CopyMap[M1 ~map[K]V, M2 ~map[K]V, K comparable, V any](dst M1, src M2) M1
func FilterFunc ¶
func LastIndex ¶
func LastIndex[S ~[]E, E comparable](s S, v E) int
func LastIndexFunc ¶
func ToEntries ¶
func ToEntries[K comparable, V any](source *orderedmap.OrderedMap[K, V]) []*orderedmap.Element[K, V]
Types ¶
Click to show internal directories.
Click to hide internal directories.