The ordered factor booltypes ranks the boolean types.
booltypesAn object of class ordered (inherits from factor) of length 6.
There are currently six boolean types, booltypes is an ordered vector with the following ordinal levels
non-boolean types
logicalfor representing any boolean data including NA
bitfor representing dense boolean data
bitwhichfor representing sparse (skewed) boolean data
whichfor representing sparse boolean data with few TRUE
rirange-indexing, for representing sparse boolean data with a single range of TRUE
booltypes has a names attribute such that elements can be selected by name.
booltype, is.booltype, as.booltype