Type predicates

Description

These type predicates aim to make type testing in R more consistent. They are wrappers around typeof, so operate at a level beneath S3/S4 etc.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19

Arguments

x

object to be tested.

Details

Compare to base R functions:

See Also

bare-type-predicates scalar-type-predicates


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.