R: Testing for bit, bitwhich and ri selection classes

is.bit {bit} | R Documentation

## Testing for bit, bitwhich and ri selection classes

### Description

Test whether an object inherits from 'ri', 'bit' or 'bitwhich'

### Usage

    is.ri(x)
    is.bit(x)
    is.bitwhich(x)

### Arguments

`x` | an R object of unknown type

### Value

TRUE or FALSE

### Author(s)

Jens Oehlschlägel

### See Also

`is.logical`, `bit`, `bitwhich`

### Examples

     is.ri(TRUE)
     is.ri(ri(1,4,12))
     is.bit(TRUE)
     is.bitwhich(TRUE)
     is.bit(as.bit(TRUE))
     is.bitwhich(as.bitwhich(TRUE))

[Package bit version 1.1-15 Index]