package
Version:
v1.0.0-rc.0
Opens a new window with list of versions in this module.
Published: Aug 18, 2023
License: AGPL-3.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 RemoveInPlace[T any](collection []T, predicate func(T, int) bool) []T
RemoveInPlace removes all elements from a slice that match the given predicate.
Does not allocate a new slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.