Learn R Programming

rlang (version 0.2.1)

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
# NOT RUN {
is_empty(NULL)
is_empty(list())
is_empty(list(NULL))
# }

Run the code above in your browser using DataLab