collections

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArraysContains

func ArraysContains[V constraints.Ordered](arr []V, value V) bool

func ArraysEqualvant

func ArraysEqualvant[V constraints.Ordered](a1 []V, a2 []V) bool

ArraysEqualvant compare two arrays and return true if they are have same length and same elements, regardless of the order of the elements. Otherwise, return false.

func CopyMap

func CopyMap[K constraints.Ordered, V any](src map[K]V) map[K]V

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL