UNPKG

@melonproject/token-math

Version:

A small helper library to do precision safe calculations

9 lines (8 loc) 361 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const isZero_1 = __importDefault(require("../bigInteger/isZero")); const isZero = (q) => isZero_1.default(q.quantity); exports.default = isZero;