UNPKG

tough-rational

Version:

Rational class using BigInt with fallback to bignumber.js

4 lines (2 loc) 55 B
'use strict'; module.exports = (n) => !n.isInteger();