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 checks if a value is present in a slice.
**Parameters:**
slice: Slice to check for the value. value: Value to check for in the slice.
**Returns:**
bool: true if the value is present in the slice, false otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.