UNPKG

tough-rational

Version:

Rational class using BigInt with fallback to bignumber.js

4 lines (2 loc) 52 B
'use stricf'; module.exports = (n) => !n.isZero();