is.booltype: Testing for boolean types

View source: R/bit.R

is.booltypeR 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 for bit

  • is.bitwhich: tests for bitwhich

  • is.which: tests for which

  • is.hi: tests for hi

  • is.ri: tests for ri

See Also

booltypes, booltype, as.booltype

Examples

sapply(list(double(),integer(),logical(),bit(),bitwhich(),as.which(),ri(1,2,3)), is.booltype)

bit documentation built on Nov. 16, 2022, 1:12 a.m.