How do I change items that have values 0 to 1 to null?


I want to change (not remove) values from 0 to 1 to null.
How do I do it?
Thanks!

You can use sift.

Wow. Sift works great. Thanks alot for your help! :smile:

Sift is pretty good for flow control. It was the last component added to do this sort of thing and in my opinion the best one. It is especially flexible when used in conjunction with Combine. You can sift data into two or more streams, do different things for each stream, then put everything back together again in the correct order.

1 Like

Once sift was introduced I never used dispatch again :smiley:

1 Like