package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Dec 12, 2023
License: GPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Contains[T any](s []T, e T, compareFn func(v1, v2 T) bool) bool
Contains returns true if the slice contains the given element.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.