You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here if id === 'foobar' I would like to effects 1 and 2 to run.
In cur lib version it would do effect 1 and stop.
What I ask is similar to switch statement without breaks.
The text was updated successfully, but these errors were encountered:
avalanche1
changed the title
An option to fall through to all the matchers
An option to fall through all the matchers
May 13, 2020
I would like a feature to be able to not stop matching if any pattern matches and continue to run matchers (except for the default
_
, of course).Here if
id === 'foobar'
I would like to effects 1 and 2 to run.In cur lib version it would do effect 1 and stop.
What I ask is similar to
switch
statement withoutbreak
s.The text was updated successfully, but these errors were encountered: