slices

package
v0.0.0-...-4e49b11 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone[S ~[]E, E any](s S) S

func Filter

func Filter[T any](s []T, predicate func(T) bool) []T

func IndexFunc

func IndexFunc[S ~[]E, E any](s S, f func(E) bool) int

func ToMap

func ToMap[K comparable, V any](s []V, keyFunc func(V) K) 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