* 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)
| 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 | } |
| 117406 | Fold.Definition = { |
| 117407 | "type": "Fold", |
| 117408 | "metadata": { |
nothing calls this directly
no outgoing calls
no test coverage detected