Skip to content

Feature request: "isNotZero" helper #2024

Open
@PaulRBerg

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.

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