(obj, key)
| 716 | } |
| 717 | } |
| 718 | function getForce(obj, key) { |
| 719 | const v = get(obj, key); |
| 720 | assert(v != null); |
| 721 | return v; |
| 722 | } |
| 723 | function isNumber(x) { |
| 724 | if (typeof x === "number") return true; |
| 725 | if (/^0x[0-9a-f]+$/i.test(String(x))) return true; |
no test coverage detected