Arguments passed to the function body. If the body function does not take an argument, you can specify an empty array [ ]
The function definition. You can specify the function definition as either BSON type Code or String.
The language used in the body. You must specify lang: "js".
Generated using TypeDoc
Defines a custom aggregation function or expression in JavaScript.