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

Function Expression

docs/app/js/sanddance-app.js:117046–117049  ·  view source on GitHub ↗

* Wraps an expression function with access to external parameters. * @constructor * @param {object} params - The parameters for this operator. * @param {function} params.expr - The expression function. The * function should accept both a datum and a parameter object. * This operator's value w

(params)

Source from the content-addressed store, hash-verified

117044 * This operator's value will be a new function that wraps the
117045 * expression function with access to this operator's parameters.
117046 */ function Expression(params) {
117047 (0, _vegaDataflow.Operator).call(this, null, update$4, params);
117048 this.modified(true);
117049}
117050(0, _vegaUtil.inherits)(Expression, (0, _vegaDataflow.Operator));
117051function update$4(_) {
117052 const expr = _.expr;

Callers 1

exprRefFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected