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.
Type guard for the
Amountbrand: true only for an object carrying the brand with abigintminor count — whattoAmountand 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.