JSDoc types can be deceiving
| @@ -470,7 +470,7 @@ export function parseBooleanOperands(args) { | ||
| 470 | 470 | } |
| 471 | 471 | |
| 472 | 472 | // Number parses spaces as 0, and parseFloat is weird |
| 473 | 473 | const operandNumber = typeof operand? === 'string' && operand.trim()?.length ? Number(operand) : NaN; |
| 474 | 474 | |
| 475 | 475 | if (!isNaN(operandNumber)) { |
| 476 | 476 | return operandNumber; |