package
Version:
v0.7.2
Opens a new window with list of versions in this module.
Published: Jun 12, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SliceFindFunc[T any](s []T, f func(T) bool) (e T, ok bool)
SliceFindFunc finds a the first element in a slice for which function f
returns true. If not found ok will be false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.