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

Function isRat

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

Source from the content-addressed store, hash-verified

2236module.exports = isRat
2237
2238function isRat(x) {
2239 return Array.isArray(x) && x.length === 2 && isBN(x[0]) && isBN(x[1])
2240}
2241
2242
2243/***/ }),

Callers 1

makeRationalFunction · 0.85

Calls 1

isBNFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…