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

    Function getUnaryOperationValue

    • Computes the logical value of an unary operator applied to an operand.

      Parameters

      • params: { operator: Operator; operand: boolean }

        Function parameters.

        • operator: Operator

          The unary operator to evaluate.

        • operand: boolean

          The boolean value of the operand.

      Returns boolean

      The computed boolean value after applying the unary operator.

      If an unsupported operator is provided.