collections

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: Unlicense Imports: 0 Imported by: 0

Documentation

Overview

Package collections contains various functions that allow you to access slice items in a functional way

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(vs []string, f func(string) bool) bool

func Any

func Any(vs []string, f func(string) bool) bool

func Filter

func Filter(vs []string, f func(string) bool) []string

func Include

func Include(vs []string, t string) bool

func Index

func Index(vs []string, t string) int

func Map

func Map(vs []string, f func(string) string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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