Learn R Programming

purrr (version 0.1.0)

is_empty: Is a vector/list empty?

Description

Is a vector/list empty?

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