id

package
v0.37.3-pr6271 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: AGPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func And

And combines two or more filters that all need to be true.

func Any

func Any(flow.Identifier) bool

Any is a flow.IdentifierFilter. It accepts all identifiers.

func False added in v0.15.0

func False(flow.Identifier) bool

False is a flow.IdentifierFilter. It accepts no identifier.

func In

In constructs a filter that returns true if and only if the Identifier is in the provided list.

func InSet

func InSet(ids map[flow.Identifier]struct{}) flow.IdentifierFilter

InSet constructs a filter that returns true if and only if the Identifier is in the provided map. CAUTION: input map is _not_ copied

func Is

func Is(expectedID flow.Identifier) flow.IdentifierFilter

Is constructs a filter that returns true if and only if the Identifier is identical to the expectedID.

func Not

Not returns a filter equivalent to the inverse of the input filter.

func Or

Or combines two or more filters and only needs one of them to be true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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