predicates-property: Property predicates

Description Usage Arguments See Also Examples

Description

Property predicates

Usage

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

Arguments

x

Object to test.

nm, nms

Name(s).

n

Length.

which

Object attribute(s).

what

Class name.

See Also

Set predicates, chk_null(), chk_not_null()

Examples

1
2
3
4
5
6
f <- function(x, y) NULL
foo <- firmly(f, "x, y are not disjoint" := chk_empty(intersect(x, y)))
foo(letters[1:3], letters[4:5])
## Not run: 
foo(letters[1:3], letters[3:5])
## End(Not run)

egnha/rong documentation built on May 7, 2019, 9:48 p.m.