JSDoc types can be deceiving

703e67399c712b786887f259785cbff573f67356

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/variables.js+1 -1
@@ -470,7 +470,7 @@ export function parseBooleanOperands(args) {
470470 }
471471
472472 // Number parses spaces as 0, and parseFloat is weird
473473 const operandNumber = typeof operand? === 'string' && operand.trim()?.length ? Number(operand) : NaN;
474474
475475 if (!isNaN(operandNumber)) {
476476 return operandNumber;