stringlist

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(values []string, match Predicate) bool

Any reports whether match accepts at least one value. A nil predicate never matches.

func Clone

func Clone(values []string) []string

Clone returns a shallow copy of values.

Types

type Predicate

type Predicate func(value string) bool

Predicate is the shared contract for matching a single string slice item.

Jump to

Keyboard shortcuts

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