is_lint_level {lintr} | R Documentation |
Helper for determining whether the current source_expression
contains
all expressions in the current file, or just a single expression.
is_lint_level(source_expression, level = c("expression", "file"))
source_expression |
A parsed expression object, i.e., an element
of the object returned by |
level |
Which level of expression is being tested? |