match_cond {matchr} | R Documentation |
Called by Match
the check whether a condition matches. Used to create custom methods for matching.
match_cond(cond, x, do, ...)
cond |
match condition |
x |
object being matched |
do |
return expression associated with the condition. If |
... |
arguments passed to evaluation |
See the Match
details for explanations about provided methods.
FALSE
if no match, or a list containing TRUE
and the evaluated expression