Learn R Programming

rlang (version 1.1.2)

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