isempty: isempty Property

View source: R/size.R

isemptyR Documentation

isempty Property

Description

Determine if an object is empty.

Usage

isempty(x)

Arguments

x

an R object

Details

An empty object has length zero.

Value

TRUE if x has length 0; otherwise, FALSE.

Examples

isempty(c(0))            # FALSE
isempty(matrix(0, 1, 0)) # TRUE

pracma documentation built on March 19, 2024, 3:05 a.m.