MCPcopy Create free account
hub / github.com/microsoft/SandDance / Formula

Function Formula

docs/app/js/sanddance-app.js:117457–117459  ·  view source on GitHub ↗

* Invokes a function for each data tuple and saves the results as a new field. * @constructor * @param {object} params - The parameters for this operator. * @param {function(object): *} params.expr - The formula function to invoke for each tuple. * @param {string} params.as - The field name unde

(params)

Source from the content-addressed store, hash-verified

117455 * @param {boolean} [params.initonly=false] - If true, the formula is applied to
117456 * added tuples only, and does not update in response to modifications.
117457 */ function Formula(params) {
117458 (0, _vegaDataflow.Transform).call(this, null, params);
117459}
117460Formula.Definition = {
117461 "type": "Formula",
117462 "metadata": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected