array

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsBool added in v0.2.21

func ContainsBool(array []bool, expected bool) bool

func ContainsInt

func ContainsInt(array []int, expected int) bool

func ContainsPartialStr

func ContainsPartialStr(array []string, expected string) bool

func ContainsStr

func ContainsStr(array []string, expected string) bool

func ContainsStrCaseInsensitive added in v0.2.21

func ContainsStrCaseInsensitive(array []string, expected string) bool

func JoinInt32 added in v0.1.11

func JoinInt32(array []int32, delim string) string

func Sort2D added in v0.42.0

func Sort2D(slice [][]string)

Sort2D can be used 2d Arrays used for Table Outputs to sort headers

func Unique added in v0.39.0

func Unique[T string | int](sliceList []T) []T

Unique removes duplicates from a slice and returns the list with only unique values accepts a slice of string or int

Types

This section is empty.

Jump to

Keyboard shortcuts

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