ExpressionParser.BoolOperand.AND C# (CSharp) Method

AND() public method

public AND ( IOperand rhs ) : IOperand
rhs IOperand
return IOperand
        public IOperand AND(IOperand rhs)
        {
            if (!(rhs is BoolOperand))
                throw new RPN_Exception("Argument invalid in BoolOperand.&& : rhs");
            BoolOperand oprResult = new BoolOperand("Result");
            oprResult.Value = ((bool)this.Value && (bool)((Operand)rhs).Value) ? true : false;
            return oprResult;
        }
        public IOperand OR(IOperand rhs)