powered by
Function that negates a boolean expression.
negateExp(expression)
A boolean expression. Conditions should be capitalized and negated conditions should be inserted with a "~". Unions of conditions are performed with a "+", while intersections are performed with a "*".
It returns a negated boolean expression.
# NOT RUN { negateExp("~EMP*MA") negateExp("~A*B + C*~D") # }
Run the code above in your browser using DataLab