MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / getSessionStorageItem

Function getSessionStorageItem

webapp/_webapp/src/intermediate.ts:199–205  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

197
198 // Helper to safely access sessionStorage
199 const getSessionStorageItem = (key: string): string | null => {
200 try {
201 return sessionStorage.getItem(key);
202 } catch {
203 return null;
204 }
205 };
206
207 const setSessionStorageItem = (key: string, value: string): void => {
208 try {

Callers 1

intermediate.tsFile · 0.85

Calls 1

getItemMethod · 0.65

Tested by

no test coverage detected