Learn R Programming

insight (version 0.20.4)

is_empty_object: Check if object is empty

Description

Check if object is empty

Usage

is_empty_object(x)

Value

A logical indicating whether the entered object is empty.

Arguments

x

A list, a vector, or a dataframe.

Examples

Run this code
is_empty_object(c(1, 2, 3, NA))
is_empty_object(list(NULL, c(NA, NA)))
is_empty_object(list(NULL, NA))

Run the code above in your browser using DataLab