MCPcopy Index your code
hub / github.com/gpujs/gpu.js / popState

Method popState

src/backend/function-node.js:118–123  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

116 }
117
118 popState(state) {
119 if (this.state !== state) {
120 throw new Error(`Cannot popState ${ state } when in ${ this.state }`);
121 }
122 this.states.pop();
123 }
124
125 isState(state) {
126 return this.state === state;

Callers 10

astReturnStatementMethod · 0.45
astBinaryExpressionMethod · 0.45
castLiteralToIntegerMethod · 0.45
castLiteralToFloatMethod · 0.45
castValueToIntegerMethod · 0.45
castValueToFloatMethod · 0.45
astForStatementMethod · 0.45
astBlockStatementMethod · 0.45
astForStatementMethod · 0.45
astBlockStatementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected