UNPKG

tough-rational

Version:

Rational class using BigInt with fallback to bignumber.js

5 lines (3 loc) 99 B
'use strict'; const setter = (prop) => function (v) { this[prop] = v; }; module.exports = setter;