(expr: Expression)
| 5 | import { dictionaryFromExpression } from '../../src/math-json/utils'; |
| 6 | |
| 7 | function evaluate(expr: Expression) { |
| 8 | return exprToString( |
| 9 | engine.expr(expr)?.evaluate().toMathJson({ shorthands: [] }) |
| 10 | ); |
| 11 | } |
| 12 | |
| 13 | function box(expr: Expression) { |
| 14 | return engine.expr(expr); |
no test coverage detected