mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-28 07:49:27 +08:00
Add node modules and new code for release (#168)
Co-authored-by: OliverMKing <OliverMKing@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ca8d2604ac
commit
a0f00e5017
+9
@@ -0,0 +1,9 @@
|
||||
var _group = require('./_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.
|
||||
var indexBy = _group(function(result, value, key) {
|
||||
result[key] = value;
|
||||
});
|
||||
|
||||
module.exports = indexBy;
|
||||
Reference in New Issue
Block a user