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))

r-lib/rlang documentation built on June 24, 2024, 8:09 p.m.