package
Version:
v0.1.0-prerelease
Opens a new window with list of versions in this module.
Published: Jun 22, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Contains returns true if a slice contains an element
func Transform[T any, V any](slice []T, fn func(T) V) []V
Transform takes a slice of a given type, and a function to
perform on each element to transform it into a different type
Source Files
¶
Click to show internal directories.
Click to hide internal directories.