package
Version:
v1.9.1
Opens a new window with list of versions in this module.
Published: Oct 17, 2024
License: AGPL-3.0
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 Clear[S ~[]E, E any](s S)
func GrowLen[S ~[]E, E any](s S, n int) S
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.
func Reverse[S ~[]E, E any](s S)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.