is_quosureish

0th

Percentile

Test for or coerce to quosure-like objects

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.

Keywords
internal
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.

Aliases
  • is_quosureish
  • as_quosureish
Documentation reproduced from package rlang, version 0.2.0, License: GPL-3

Community examples

Looks like there are no examples yet.