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

rlang documentation built on Nov. 4, 2023, 9:06 a.m.