Defunct lifecycle

These functions are deprecated as of rlang 0.2.0 because they make the assumption that quosures are a subtype of formula, which we are now considering to be an implementation detail.

is_quosureish(x, scoped = NULL)

as_quosureish(x, env = caller_env())



An object to test.


A boolean indicating whether the quosure is scoped, that is, has a valid environment attribute. If NULL, the scope is not inspected.


The environment in which the expression should be evaluated. Only used for symbols and calls. This should typically be the environment in which the expression was created.