array

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoFilter

func DoFilter(arr []Filter) []any

func Find

func Find[T any](array []T, value T) T

func FindIndex

func FindIndex[T any](array []T, value T) int

func IsEmpty

func IsEmpty(arr []any) bool

func IsExist

func IsExist[T any](array []T, value T) bool

Types

type Filter

type Filter interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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