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 Dec. 17, 2024, 3:26 a.m.