Documentation ¶
Index ¶
- func MapEqual[K comparable, V interface{ ... }](a, b map[K]V) bool
- func MapEqualWith[K comparable, V any](a, b map[K]V, pred func(a, b V) bool) bool
- func SliceEqEq[T comparable](a, b []T) bool
- func SliceEqEqUnordered[T comparable](a, b []T) bool
- func SliceEqual[T interface{ ... }](a, b []T) bool
- func SliceEqualUnordered[T interface{ ... }](a, b []T) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapEqual ¶
func MapEqual[K comparable, V interface{ Equal(V) bool }](a, b map[K]V) bool
func MapEqualWith ¶ added in v1.4.0
func MapEqualWith[K comparable, V any](a, b map[K]V, pred func(a, b V) bool) bool
func SliceEqEq ¶ added in v1.4.0
func SliceEqEq[T comparable](a, b []T) bool
func SliceEqEqUnordered ¶ added in v1.4.0
func SliceEqEqUnordered[T comparable](a, b []T) bool
func SliceEqual ¶ added in v1.4.0
func SliceEqualUnordered ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.