1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
% $Id: isempty.Rd 25 2022-05-30 18:46:01Z proebuck $
\name{isempty}
\alias{isempty}
\title{MATLAB isempty function}
\description{
Determine if object is empty.
}
\usage{
isempty(A)
}
\arguments{
\item{A}{object to evaluate}
}
\details{
An empty object has at least one dimension of size zero.
}
\value{
Returns \code{TRUE} if \code{x} is an empty object; otherwise, \code{FALSE}.
}
\author{
P. Roebuck \email{proebuck1701@gmail.com}
}
\examples{
isempty(1:3) # FALSE
isempty(array(NA, c(2, 0, 2))) # TRUE
}
\keyword{logic}
\keyword{attribute}
|