lib/modules/apostrophe-utils/lib/helpers.js
function(arr, property, value) {
      return _.find(arr, function(item) {
        return (item[property] === value);
      });
    }
function(arr, property, value) {
      return _.find(arr, function(item) {
        return (item[property] === value);
      });
    }
function ( arr , property , value ) { return _ . find ( arr , function ( item ) { return ( item [ property ] === value ) ; } ) ; }
Find the first array element, if any, that has the specified value for the specified property.
Find the first array element if any that has the specified value for the specified property .