Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](slice []T, value T) bool
Contains returns true if the given slice contains the value.
func Remove ¶
func Remove[T comparable](slice []T, value T) []T
Remove removes the value from the slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.