package
Version:
v0.10.4
Opens a new window with list of versions in this module.
Published: May 25, 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
¶
Contains returns true if s slice contains e element.
func Copy[T any](s []T) []T
Copy returns a copy of the slice.
func Map[T, U any](s []T, f func(T) U) []U
Map returns a new slice with the results of applying the function f to each
element of the original slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.