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

Function WindowOp

docs/app/js/sanddance-app.js:118698–118706  ·  view source on GitHub ↗
(op, field, param, as)

Source from the content-addressed store, hash-verified

118696 }
118697});
118698function WindowOp(op, field, param, as) {
118699 const fn = WindowOps[op](field, param);
118700 return {
118701 init: fn.init || (0, _vegaUtil.zero),
118702 update: function(w, t) {
118703 t[as] = fn.next(w);
118704 }
118705 };
118706}
118707const WindowOps = {
118708 row_number: function() {
118709 return {

Callers 1

WindowStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected