(lval: unknown)
| 133 | } |
| 134 | // Performance sensitive. |
| 135 | evaluate(lval: unknown): boolean { |
| 136 | // Most cases is 'number', and typeof maybe 10 times faseter than parseFloat. |
| 137 | return isNumber(lval) |
| 138 | ? this._opFn(lval, this._rvalFloat) |
| 139 | : this._opFn(numericToNumber(lval), this._rvalFloat); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | export class SortOrderComparator { |
nothing calls this directly
no test coverage detected