Chop Logic Core - v1.6.0
    Preparing search index...

    Function getBinaryOperationValue

    • Evaluates the logical value of a binary operation given two boolean operands.

      Parameters

      • params: { operator: Operator; leftOperand: boolean; rightOperand: boolean }

        Function parameters.

        • operator: Operator

          The logical operator to apply.

        • leftOperand: boolean

          The boolean value of the left operand.

        • rightOperand: boolean

          The boolean value of the right operand.

      Returns boolean

      The result of applying the operator to the operands.

      If the operator is not a binary operator.