MCPcopy Index your code
hub / github.com/material-shell/material-shell / getState

Method getState

src/manager/stateManager.ts:96–98  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

94 );
95 }
96 getState(key: string) {
97 return this.state[key];
98 }
99 setState(key: string, value: any) {
100 if (value === undefined) {
101 delete this.state[key];

Callers 3

constructorMethod · 0.80
checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected