isempty {matlab}R Documentation

MATLAB isempty function

Description

Determine if object is empty.

Usage

isempty(A)

Arguments

A object to evaluate

Details

An empty object has at least one dimension of size zero.

Value

Returns TRUE if x is an empty object; otherwise, FALSE.

Author(s)

P. Roebuck, roebuck@mdanderson.org

Examples

isempty(1:3)  # FALSE
isempty(array(NA, c(2, 0, 2)))  # TRUE

[Package matlab version 0.8-2 Index]