Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains(slice interface{}, element interface{}) (found bool)
containsElement try loop over the list check if the list includes the element. return (false, false) if impossible. return (true, false) if element was not found. return (true, true) if element was found.
func Equal ¶ added in v0.1.5
func Equal[T comparable](a, b []T) bool
func RemoveDuplicates ¶ added in v0.6.1
func RemoveDuplicates[T comparable](slice []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.