UNPKG

tough-rational

Version:

Rational class using BigInt with fallback to bignumber.js

6 lines (3 loc) 143 B
'use strict'; const forOwn = (o, fn, thisArg) => Object.keys(o).forEach((key) => fn.call(thisArg, o[key], key, o)); module.exports = forOwn;