slc

package
v0.0.0-...-f9cf00d Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter[T any](slc []T, f func(T) bool) (fltd []T)

func Find

func Find[T any](slc []T, f func(T) bool) (value T, found bool)

func Map

func Map[T any](slc []T, f func(T) T) []T

func RemoveByIndex

func RemoveByIndex[T any](slc []T, idx int) []T

func ShallowEqual

func ShallowEqual[T comparable](a, b []T) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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