@shopgate/engage
Version:
Shopgate's ENGAGE library.
6 lines • 364 B
JavaScript
/**
* Retrieves the properties for a specific subDisplayGroup.
* @param {Array} properties The properties to filter.
* @param {string} group The group to look for.
* @returns {Array}
*/export function getPropertiesBySubgroup(properties,group){return properties.filter(function(_ref){var subDisplayGroup=_ref.subDisplayGroup;return subDisplayGroup===group;});}