Skip to content

Instantly share code, notes, and snippets.

@Veejay Veejay/detect.js
Created Nov 13, 2012

What would you like to do?
_.detect(collection, function(item) {
// conditions here
one: function(item) {
// function to execute when one item is found
// function to execute when no item is found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.