(op: 'Add' | 'Multiply', a: Json, b: Json)
| 383 | } |
| 384 | |
| 385 | function flatBinary(op: 'Add' | 'Multiply', a: Json, b: Json): Json { |
| 386 | return flatBinaryOp(op, a, b); |
| 387 | } |
| 388 | |
| 389 | function negate(x: Json): Json { |
| 390 | if (typeof x === 'number') return -x; |
no test coverage detected