UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

7 lines 220 B
import Decimal from 'decimal.js'; export function toDecimal(value) { if (typeof value == 'bigint') return new Decimal(value.toString()); return new Decimal(value); } //# sourceMappingURL=NumberLike.js.map