@pwngh/economy-lab
    Preparing search index...

    Function isAmount

    • Type guard for the Amount brand: true only for an object carrying the brand with a bigint minor count — what toAmount and the decoders produce. Used where a value of unknown shape (a decoded JSON tree, an operation field) must prove it is money before arithmetic touches it.

      Parameters

      • value: unknown

      Returns value is Amount