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

Function Filter

docs/app/js/sanddance-app.js:117287–117289  ·  view source on GitHub ↗

* Filters data tuples according to a predicate function. * @constructor * @param {object} params - The parameters for this operator. * @param {function(object): *} params.expr - The predicate expression function * that determines a tuple's filter status. Truthy values pass the filter.

(params)

Source from the content-addressed store, hash-verified

117285 * @param {function(object): *} params.expr - The predicate expression function
117286 * that determines a tuple's filter status. Truthy values pass the filter.
117287 */ function Filter(params) {
117288 (0, _vegaDataflow.Transform).call(this, (0, _vegaUtil.fastmap)(), params);
117289}
117290Filter.Definition = {
117291 "type": "Filter",
117292 "metadata": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected