package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Jun 12, 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.