MCPcopy Create free account
hub / github.com/witheve/Eve / getGroup

Method getGroup

src/runtime/builder.ts:92–98  ·  view source on GitHub ↗
(variable, orValue?)

Source from the content-addressed store, hash-verified

90 }
91
92 getGroup(variable, orValue?) {
93 let group = this.variableToGroup[variable.name];
94 if(group === undefined) {
95 group = this.setGroup(variable, orValue !== undefined ? orValue : this.groupIx++);
96 }
97 return group;
98 }
99
100 hasVariable(variable) {
101 return this.variableToGroup[variable.name] !== undefined;

Callers 2

assignGroupsMethod · 0.95

Calls 1

setGroupMethod · 0.95

Tested by

no test coverage detected