Learn R Programming

purrr (version 0.2.2.2)

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

Run the code above in your browser using DataLab