https://github.com/cran/pracma
Revision c1688b374d201c13fb40b4dda2d2a89e34b94ec6 authored by Hans W. Borchers on 23 January 2021, 09:10:02 UTC, committed by cran-robot on 23 January 2021, 09:10:02 UTC
1 parent e970b8e
Raw File
Tip revision: c1688b374d201c13fb40b4dda2d2a89e34b94ec6 authored by Hans W. Borchers on 23 January 2021, 09:10:02 UTC
version 2.3.3
Tip revision: c1688b3
isempty.Rd
\name{isempty}
\alias{isempty}
\title{isempty Property}
\description{
  Determine if an object is empty.
}
\usage{
isempty(x)
}
\arguments{
  \item{x}{an R object}
}
\details{
  An empty object has length zero.
}
\value{
  \code{TRUE} if \code{x} has length 0; otherwise, \code{FALSE}.
}
\examples{
isempty(c(0))            # FALSE
isempty(matrix(0, 1, 0)) # TRUE
}
\keyword{logic}

back to top