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

Method newGroup

docs/app/js/sanddance-app.js:12609–12618  ·  view source on GitHub ↗
(key, clause)

Source from the content-addressed store, hash-verified

12607 });
12608 }
12609 newGroup(key, clause) {
12610 const group = {
12611 key,
12612 clause,
12613 expressions: [
12614 this.newExpression(0, null)
12615 ]
12616 };
12617 return group;
12618 }
12619 updateGroup(partialGroup, groupIndex) {
12620 const groups = [
12621 ...this.state.groups

Callers 2

getInitialStateMethod · 0.95
addGroupMethod · 0.95

Calls 1

newExpressionMethod · 0.95

Tested by

no test coverage detected