id

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

(c) 2021 Dapper Labs - ALL RIGHTS RESERVED

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

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