Skip to content

Feature request: "isNotZero" helper #2024

Description

@PaulRBerg

Which packages are impacted by your issue?

@graphprotocol/graph-ts

Describe the feature request

We often need to perform an "is not zero check", e.g.

event.transaction.value.isZero() === false

It would be quite handy if there were an isNotZero helper provided natively by @graphprotocol/graph-ts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions