Skip to content

Instantly share code, notes, and snippets.

@WaldoJeffers
Last active May 26, 2018 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WaldoJeffers/4d329e3907bbef0568c631932ced7efe to your computer and use it in GitHub Desktop.
Save WaldoJeffers/4d329e3907bbef0568c631932ced7efe to your computer and use it in GitHub Desktop.
import { filter } from 'conductor'
const obj = { books: 10, ruler: 1, pencils: 5 }
const isEven = x => x % 2 === 0
filter(isEven, obj) // { books: 10 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment