slices

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: GPL-3.0 Imports: 0 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, value string) bool

Returns whether or not a provided []string contains a provided string value

func Last

func Last(arr []string) string

Returns the last element of a provided []string

func ReverseArray

func ReverseArray(arr []string) (reversed []string)

Returns the reverse of a provides []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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