sliceutil

package
v0.0.0-...-b901195 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All[T any](ts []T, pred func(T) bool) bool

All Checks if all elements in a slice match a given predicate

func BindMultiple

func BindMultiple[T any](primary []T, secondary []T, defaults []T) []T

func Keys

func Keys[M ~map[K]V, K comparable, V any](m M) []K

Keys Converts a map's keys into a slice

func Values

func Values[M ~map[K]V, K comparable, V any](m M) []V

Values Converts a map's values to a slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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