Skip to contents

Is the object an EML variable reference (a name)?

Usage

is_eml_var(x)

Arguments

x

object to test.

Value

Logical scalar.

See also

Examples

is_eml_var(quote(x)) # TRUE
#> [1] TRUE
is_eml_var(1) # FALSE — numeric
#> [1] FALSE
is_eml_var(quote(eml(1, x))) # FALSE — call
#> [1] FALSE