array

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[T comparable](list []T, obj T) (bool, error)

func ContainsAll

func ContainsAll[T comparable](list []T, objs []T) (bool, error)

func ContainsAny

func ContainsAny[T comparable](list []T, objs []T) (bool, error)

func Filter

func Filter[T any](list []T, f func(T) bool) ([]T, error)

func FilterAll

func FilterAll[T comparable](list []T, objs []T) ([]T, error)

func Join

func Join[T any](list []T, f func(item T) string, delimeter string) string

func Map

func Map[S, T any](list []S, f func(item S) T) []T

Types

This section is empty.

Jump to

Keyboard shortcuts

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