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

Function isChangeSet

docs/app/js/sanddance-app.js:107272–107274  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

107270 return !cmp ? null : f ? (a, b)=>cmp(a, b) || tupleid(f(a)) - tupleid(f(b)) : (a, b)=>cmp(a, b) || tupleid(a) - tupleid(b);
107271}
107272function isChangeSet(v) {
107273 return v && v.constructor === changeset;
107274}
107275function changeset() {
107276 const add1 = [], // insert tuples
107277 rem = [], // remove tuples

Callers 1

onStreamFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected