| is.booltype {bit} | R Documentation |
Testing for boolean types
Description
All booltypes() including logical() except 'nobool' types are considered
'is.booltype'.
Usage
is.booltype(x)
is.bit(x)
is.bitwhich(x)
is.which(x)
is.hi(x)
is.ri(x)
Arguments
x |
an R object |
Value
logical scalar
Functions
-
is.bit(): tests forbit() -
is.bitwhich(): tests forbitwhich() -
is.which(): tests forwhich() -
is.hi(): tests forhi -
is.ri(): tests forri()
See Also
booltypes(), booltype(), as.booltype()
Examples
sapply(
list(double(), integer(), logical(), bit(), bitwhich(), as.which(), ri(1, 2, 3)),
is.booltype
)
[Package bit version 4.6.0 Index]