Join Slack
Powered by
Hi! It might be nice to have a `filter(predicate: ...
# forkhandles
d
dave08
05/09/2021, 2:07 PM
Hi! It might be nice to have a
filter(predicate: () -> Boolean, error: () -> E)
just like
filterNotNull
in Result4k... my use case is that in the case my result is an empty list, it should return a domain error. What do you guys think?
3
Views
Open in Slack
Previous
Next