* Add a `["Hold"]` wrapper to `expr`.
(expr: ExpressionInput)
| 1791 | chop(n: BigDecimal): BigDecimal | 0; |
| 1792 | chop(n: Complex): Complex | 0; |
| 1793 | chop(n: number | BigDecimal | Complex): number | BigDecimal | Complex { |
| 1794 | const tolerance = this._numericConfiguration.tolerance; |
| 1795 | if (typeof n === 'number') { |
| 1796 | if (Math.abs(n) <= tolerance) return 0; |
| 1797 | return n; |
| 1798 | } |