package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 4, 2023
License: MIT
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 FindIndex[T interface{}](input []T, predicate func(o T) bool) int
* Find first index of element in input slice which satisfies predicate function
func FindLastIndex[T interface{}](input []T, predicate func(o T) bool) int
* Find last index of element in input slice which satisfies predicate function
Source Files
¶
Click to show internal directories.
Click to hide internal directories.