predicates

package
v0.0.0-...-608ba51 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func And

func And[T any](preds ...comb.Predicate[T]) comb.Predicate[T]

func EqualTo

func EqualTo[T cmp.Ordered](to T) comb.Predicate[T]

func GreaterThan

func GreaterThan[T cmp.Ordered](to T) comb.Predicate[T]

func GreaterThanOrEqualTo

func GreaterThanOrEqualTo[T cmp.Ordered](to T) comb.Predicate[T]

func IdenticalTo

func IdenticalTo(to any) comb.Predicate[any]

func IsA

func IsA[T any]() comb.Predicate[any]

func LessThan

func LessThan[T cmp.Ordered](to T) comb.Predicate[T]

func LessThanOrEqualTo

func LessThanOrEqualTo[T cmp.Ordered](to T) comb.Predicate[T]

func Not

func Not[T any](pred comb.Predicate[T]) comb.Predicate[T]

func NotEqualTo

func NotEqualTo[T cmp.Ordered](to T) comb.Predicate[T]

func NotIdenticalTo

func NotIdenticalTo(to any) comb.Predicate[any]

func Or

func Or[T any](preds ...comb.Predicate[T]) comb.Predicate[T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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