(expr: Expression)
| 43 | } |
| 44 | |
| 45 | function serializeSymbol(expr: Expression): string | null { |
| 46 | const sym = symbol(expr); |
| 47 | if (sym === null) return null; |
| 48 | // @todo some special values: Pi, NaN, Nothing, Missing, True, False |
| 49 | // ImaginaryUnit, ExponentialE |
| 50 | return sym; |
| 51 | } |
| 52 | |
| 53 | function serializeFunction(expr: Expression): string | null { |
| 54 | const result = serializeBaseForm(expr); |
no test coverage detected