Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtIndexes ¶
func AtIndexes[T comparable](elems []T, v T) []int
AtIndexes returns a slice of the indexes of elems that contain v
func Contains ¶
func Contains[T comparable](elems []T, v T) bool
Contains returns true if elems contains v
func SlicesEqual ¶
func SlicesEqual[T comparable](s1 []T, s2 []T) bool
SlicesEqual returns true if s1 and s2 have the same elements in the same order
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.