grapes-or-grapes: Or

%or%R Documentation

Or

Description

Or

Usage

lhs %or% rhs

Arguments

lhs

Any valid R expression

Default value

none

rhs

Any valid R expression

Default value

none

Details

The function evaluates the expression lhs and if this expression results in an error, it catches that error and proceeds with evaluating the expression rhs and returns that result.

Value

Either the result of evaluating lhs, rhs or an error

See Also

Developer Utility Functions: %notin%(), arg_name(), contains_vars(), convert_dtm_to_dtc(), extract_vars(), filter_if(), friendly_type_of(), valid_time_units(), vars2chr()


admiraldev documentation built on June 26, 2025, 1:09 a.m.