rlang (version 0.2.2)

is_quosureish: Test for or coerce to quosure-like objects

Description

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.

Usage

is_quosureish(x, scoped = NULL)

as_quosureish(x, env = caller_env())

Arguments

x

An object to test.

scoped

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

env

The original context of the context expression.