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