rlang (version 0.0.0.9000)

is_empty: Is object an empty vector or NULL?

Description

Is object an empty vector or NULL?

Usage

is_empty(x)

Arguments

x
object to test

Examples

Run this code
is_empty(NULL)
is_empty(list())
is_empty(list(NULL))

Run the code above in your browser using DataLab