Testing for boolean types
is.booltype(x) is.bit(x) is.bitwhich(x) is.which(x) is.hi(x) is.ri(x)
x |
an R object |
logical scalar
sapply(list(double(),integer(),logical(),bit(),bitwhich(),as.which(),ri(1,2,3)), is.booltype)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.