slice

package
v0.0.0-...-0991417 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All[T any](slice []T, fn func(T) bool) bool

func Any

func Any[T any](slice []T, fn func(T) bool) bool

func Chars

func Chars(str string) iter.Seq[rune]

func Filter

func Filter[T any](slice []T, f func(T) bool) []T

func Map

func Map[T any, U any](slice []T, f func(T) U) []U

func Reduce

func Reduce[T any, U any](slice []T, f func(U, T) U, acc U) U

Types

This section is empty.

Jump to

Keyboard shortcuts

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