type-predicates: Type predicates

Description Usage Arguments Details Value See Also Examples

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
20
21
22
23
24
25
26
27
28
29

Arguments

x

object to be tested.

Details

Compare to base R functions:

Value

TRUE or FALSE.

See Also

Other type.predicates: bare-type-predicates, scalar-type-predicates

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15

imanuelcostigan/predrcats documentation built on May 18, 2019, 4:45 a.m.