isempty: MATLAB isempty function

View source: R/isempty.R

isemptyR 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 proebuck1701@gmail.com

Examples

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

matlab documentation built on June 2, 2022, 1:09 a.m.