• Get min 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.min(a, b); // => 100

    Returns

    the min value.

    Parameters

    • a: BigInt

      the BigInt number.

    • b: BigInt

      the BigInt number.

    Returns BigInt

Generated using TypeDoc