slices

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists[T any](ts []T, predicate funcs.Predicate[T]) bool

func Map

func Map[V any, V1 any](vs []V, mapper funcs.Mapper[V, V1]) []V1

func ToMapWithValues

func ToMapWithValues[K comparable, V any](ks []K, valueGenerator func(i int, k K) V) map[K]V

Types

This section is empty.

Jump to

Keyboard shortcuts

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