void checkNumberOperand(Token operator, Object? operand) { if (operand is num) return; throw RuntimeError(operator, "Operand must be a number."); }