View source: R/mutator-condition.R
| negate_condition | R Documentation |
Wraps the condition expression of each matching statement in !(...).
For example, if (x > 0) becomes if (!(x > 0)).
negate_condition(statements = c("if", "while"))
statements |
Character vector of statement types to target.
Must be a subset of |
A Mutator object.
negate_condition()
negate_condition(statements = "if")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.