(thing)
| 133 | }) |
| 134 | |
| 135 | function _ensureNode (thing) { |
| 136 | if (isNode(thing)) { |
| 137 | return thing |
| 138 | } |
| 139 | return _toNode(thing) |
| 140 | } |
| 141 | |
| 142 | // convert a number to a fraction only if it can be expressed exactly, |
| 143 | // and when both numerator and denominator are small enough |
no test coverage detected
searching dependent graphs…