UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

9 lines (8 loc) 188 B
/** * Test whether a value is a BigNumber * @param {*} x * @return {boolean} */ module.exports = function isBigNumber(x) { return x && x.constructor.prototype.isBigNumber || false }