logicaltests: Logical tests

Description Usage Arguments Examples

Description

Logical tests

Usage

1
2
3

Arguments

.data

input. This can be JSON input, or an object of class jqr that has JSON and query params combined, which is passed from function to function when using the jqr DSL.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# any
'[true, false]' %>% anyj
'[false, false]' %>% anyj
'[]' %>% anyj

# all
'[true, false]' %>% allj
'[true, true]' %>% allj
'[]' %>% allj

## many JSON inputs
'[true, false] [true, true] [false, false]' %>% anyj
'[true, false] [true, true] [false, false]' %>% allj

ropensci/jqr documentation built on Oct. 26, 2018, 7:15 p.m.