documentcloud/underscore — pull request #814 by ludicast (2012-10-07 00:30:18+00:00)
Title: lets _.where also take a function

Hey-

In case you are interested in this sort of thing, I added the ability for where to take in functions as values so you can do:

mayVote = _.where users, citizenship:"USA", age:(age)-> age >= 18

This example is of course is more DRY with livescript or partial-function-application,so it becomes age:(>= 17).

Thanks,
Nate