The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Adding Conditional Logic with Filter

Adding Conditional Logic with Filter

1:01
Often you only want values to proceed through your stream if they meet certain criteria, just as if you were using an `if` statement in plain JavaScript. This lesson shows you how to use `filter` on your stream to only push the values that you need through your stream.
Watch this lesson now
Avatar
egghead.io

Often you only want values to proceed through your stream if they meet certain criteria, just as if you were using an if statement in plain JavaScript. This lesson shows you how to use filter on your stream to only push the values that you need through your stream.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?