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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bit.R
\name{is.booltype}
\alias{is.booltype}
\alias{is.bit}
\alias{is.bitwhich}
\alias{is.which}
\alias{is.hi}
\alias{is.ri}
\title{Testing for boolean types}
\usage{
is.booltype(x)
is.bit(x)
is.bitwhich(x)
is.which(x)
is.hi(x)
is.ri(x)
}
\arguments{
\item{x}{an R object}
}
\value{
logical scalar
}
\description{
All \code{\link[=booltypes]{booltypes()}} including \code{\link[=logical]{logical()}} except 'nobool' types are considered
'is.booltype'.
}
\section{Functions}{
\itemize{
\item \code{is.bit()}: tests for \code{\link[=bit]{bit()}}
\item \code{is.bitwhich()}: tests for \code{\link[=bitwhich]{bitwhich()}}
\item \code{is.which()}: tests for \code{\link[=as.which]{which()}}
\item \code{is.hi()}: tests for \code{\link[ff:hi]{hi}}
\item \code{is.ri()}: tests for \code{\link[=ri]{ri()}}
}}
\examples{
sapply(
list(double(), integer(), logical(), bit(), bitwhich(), as.which(), ri(1, 2, 3)),
is.booltype
)
}
\seealso{
\code{\link[=booltypes]{booltypes()}}, \code{\link[=booltype]{booltype()}}, \code{\link[=as.booltype]{as.booltype()}}
}
|