fallthrough {matchr} | R Documentation |
Stop execution of current return expression in Match
, then continue attempting to match conditions.
fallthrough()
Object of class 'fallthrough'
Match(
"abc",
is.character -> {
print("Found a character.")
fallthrough()
},
"abc" -> "start of the alphabet",
. -> "found nothing"
)