slice

package
v0.21.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First added in v0.21.4

func First[T any](in []T, end int) []T

func Map

func Map[T any, K any](in []T, fn func(item T) K) []K

func MapFilter

func MapFilter[T any, K any](in []T, fn func(item T) (k K, ok bool)) []K

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL