An empty object is either NULL, NA, length(0) or an empty string ("").

is_empty(x)

Arguments

x

any R object

Value

logical