spec/lib/jspec.js
function(object, callback) {
      return inject(object, null, function(state, key, value){
        if (state == undefined)
          return callIterator(callback, key, value) ? value : state
      })
    }
function(object, callback) {
      return inject(object, null, function(state, key, value){
        if (state == undefined)
          return callIterator(callback, key, value) ? value : state
      })
    }
function ( object , callback ) { return inject ( object , null , function ( state , key , value ) { if ( state == undefined ) return callIterator ( callback , key , value ) ? value : state } ) }
Returns the first matching expression or null.

@param  {hash, array} object
@param  {function} callback
@return {mixed}
@api public
Returns the first matching expression or null .