lib/utils/index.js
function(array, property, searchTerm) {
    for (var i = 0, len = array.length; i < len; ++i) {
      var value = array[i][property];
      if (value === searchTerm || value.indexOf(searchTerm) !== -1) {
        return i
      };
    }
    return -1;
  }
function(array, property, searchTerm) {
    for (var i = 0, len = array.length; i < len; ++i) {
      var value = array[i][property];
      if (value === searchTerm || value.indexOf(searchTerm) !== -1) {
        return i
      };
    }
    return -1;
  }
function ( array , property , searchTerm ) { for ( var i = 0 , len = array . length ; i < len ; ++ i ) { var value = array [ i ] [ property ] ; if ( value === searchTerm || value . indexOf ( searchTerm ) !== - 1 ) { return i } ; } return - 1 ; }
Return index of array on search by term in specific property.

@param  {Array} array
@param  {String} property
@param  {String} searchTerm
@return {Integer} Index
Return index of array on search by term in specific property .