4
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-11-07 21:16:57 +00:00
setup-helm/node_modules/underscore/modules/indexBy.js
2022-06-27 14:17:15 -04:00

7 lines
248 B
JavaScript

import group from './_group.js';
// Indexes the object's values by a criterion, similar to `_.groupBy`, but for
// when you know that your index values will be unique.
export default group(function(result, value, key) {
result[key] = value;
});