is_empty: Is object an empty vector or NULL?

View source: R/types.R

is_emptyR Documentation

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

is_empty(NULL)
is_empty(list())
is_empty(list(NULL))

hadley/rlang documentation built on April 24, 2024, 1:05 a.m.