money-ts
Version:
TypeScript library for type-safe and lossless encoding and manipulation of world currencies and precious metals
7 lines • 392 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var newtype_ts_1 = require("newtype-ts");
var io_ts_1 = require("io-ts");
var BigInteger_1 = require("./BigInteger");
exports.NonZeroInteger = newtype_ts_1.unsafeCoerce(io_ts_1.refinement(BigInteger_1.BigInteger, function (bi) { return !bi.isZero(); }, 'NonZeroInteger'));
//# sourceMappingURL=NonZeroInteger.js.map