(constr, min, max, toRange)
| 20 | } |
| 21 | |
| 22 | function makeConstructorObject(constr, min, max, toRange) { |
| 23 | var o = {constr: constr, min: min, max: max}; |
| 24 | let is_big = constr.name.startsWith('Big') |
| 25 | o.toRange = toRangeWrapper(is_big).bind(o); |
| 26 | return o; |
| 27 | } |
| 28 | |
| 29 | function IsBig(t) { |
| 30 | return t.constructor.name.startsWith('Big'); |
no test coverage detected