UNPKG

mongodb-aggregate-builder

Version:
18 lines (17 loc) 442 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.func = exports.functionOperation = void 0; const functionOperation = (args, body) => { return { $function: { body, args, lang: 'js' } }; }; exports.functionOperation = functionOperation; const func = (args, body) => { return (0, exports.functionOperation)(args, body); }; exports.func = func;