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

Function Fold

docs/app/js/sanddance-app.js:117403–117405  ·  view source on GitHub ↗

* Folds one more tuple fields into multiple tuples in which the field * name and values are available under new 'key' and 'value' fields. * @constructor * @param {object} params - The parameters for this operator. * @param {function(object): *} params.fields - An array of field accessors * fo

(params)

Source from the content-addressed store, hash-verified

117401 * @param {Array<string>} [params.as] - Output field names for folded key
117402 * and value fields, defaults to ['key', 'value'].
117403 */ function Fold(params) {
117404 (0, _vegaDataflow.Transform).call(this, [], params);
117405}
117406Fold.Definition = {
117407 "type": "Fold",
117408 "metadata": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected