nf-boost
nf-boost copied to clipboard
Add `filterMap` operator
The filterMap
operator is like branch
but for a single output. It allows you to define a filtering condition and mapping expression in a single operator.
I'm considering this alternative so that we might eventually phase out branch
(and multiMap
) so that we don't have to support the special closure-with-labels syntax that they use, which creates some challenges for some kinds of syntax errors.