MCPcopy Index your code
hub / github.com/plotly/plotly.js / isBN

Function isBN

stackgl_modules/index.js:2332–2334  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

2330//Test if x is a bignumber
2331//FIXME: obviously this is the wrong way to do it
2332function isBN(x) {
2333 return x && typeof x === 'object' && Boolean(x.words)
2334}
2335
2336
2337/***/ }),

Callers 2

makeRationalFunction · 0.85
isRatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…