powered by
Orify(...)
Andify
Other predicate function operators: Andify
# Examples is_character_or_factor <- Orify(is.character, is.factor) is_character_or_factor(letters) # TRUE is_character_or_factor(factor(state.abb)) # TRUE is_character_or_factor(1:100) # FALSE
Run the code above in your browser using DataLab