Skip to content

Instantly share code, notes, and snippets.

@robwormald
Created October 25, 2016 09:57
Show Gist options
  • Save robwormald/2e216c7a1942373c5b348aee7dc9bacf to your computer and use it in GitHub Desktop.
Save robwormald/2e216c7a1942373c5b348aee7dc9bacf to your computer and use it in GitHub Desktop.
const [moreThanTwo, lessThanTwo] = someObservable.partition(v => v > 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment