<@U2H3SABQF> : the `else` part still has to produc...
# getting-started
n
@elect : the
else
part still has to produce some value, no?
map
will append the return value from the closure to the returned list unconditionally. So I guess I am looking for
filteredMap(suppress: Any?, transform: (T) -> R)
(similar to how
flatMap
is a more efficient implementation of
.map {...}.flatten()