• Get max value.

    Example

    import { integers } from "@protofire/subgraph-devkit";
    import { BigInt } from "@graphprotocol/graph-ts";

    const a = BigInt.fromI32(100);
    const b = BigInt.fromI32(101);
    integers.max(a, b); // => 101

    Returns

    the max value.

    Parameters

    • a: BigInt

      the BigInt number.

    • b: BigInt

      the BigInt number.

    Returns BigInt

Generated using TypeDoc