UNPKG
mongoose-management
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
Mongoose schemas management tool
github.com/kettil/mongoose-management
kettil/mongoose-management
mongoose-management
/
build
/
lib
/
cli
/
helper
/
evaluation.js
6 lines
(5 loc)
•
233 B
JavaScript
View Raw
1
2
3
4
5
6
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
mergeEvaluation
=
(
mainCall, subCalls = [], item
) =>
{
return
subCalls.
reduce
(
(
subItem, evaluation
) =>
evaluation
(subItem),
mainCall
(item)); };