boiler/attachments/sammy/plugins/sammy.storage.js
function(callback) {
      var found = false;
      this.each(function(key, value) {
        if (callback(key, value)) {
          found = [key, value];
          return false;
        }
      });
      return found;
    }
function(callback) {
      var found = false;
      this.each(function(key, value) {
        if (callback(key, value)) {
          found = [key, value];
          return false;
        }
      });
      return found;
    }
function ( callback ) { var found = false ; this . each ( function ( key , value ) { if ( callback ( key , value ) ) { found = [ key , value ] ; return false ; } } ) ; return found ; }
Works exactly like filter except only returns the first matching key value pair instead of all of them
Works exactly like filter except only returns the first matching key value pair instead of all of them