| is_conditional | R Documentation | 
Check if rules are conditional rules
is_conditional(rules, ...)
| rules | validator object containing validation rules | 
| ... | not used | 
logical indicating which rules are conditional
errorlocate supports linear,
categorical and conditional rules to be used in finding errors. Other rule types
are ignored during error finding.
Other rule type: 
is_categorical(),
is_linear()
v <- validator( A %in% c("a1", "a2")
              , B %in% c("b1", "b2")
              , if (A == "a1")  x > 1 # conditional
              , if (y > 0) x >= 0 # conditional
              , if (A == "a1") B == "b1" # categorical
              )
is_conditional(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.