predicate

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringFalse

func StringFalse(_ string) bool

func StringTrue

func StringTrue(_ string) bool

Types

type StringPredicate

type StringPredicate func(s string) bool

func IsStringInSlice

func IsStringInSlice(haystack []string) StringPredicate

func StringHasPrefix

func StringHasPrefix(prefix string) StringPredicate

func StringOr

func StringOr(predicates ...StringPredicate) StringPredicate

Jump to

Keyboard shortcuts

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