Skip to contents

Combine predicate functions to check if any are TRUE

Usage

or(...)

Arguments

...

Predicate functions

Value

A predicate function

Examples

or(not_null, not_na)(1)
#> [1] TRUE
or(not_null, not_na)(NULL)
#> [1] TRUE