MCPcopy Create free account
hub / github.com/firebase/quickstart-js / isTokenSentToServer

Function isTokenSentToServer

messaging/main.ts:66–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66function isTokenSentToServer() {
67 return window.localStorage.getItem('sentToServer') === '1';
68}
69
70function setTokenSentToServer(sent: boolean) {
71 window.localStorage.setItem('sentToServer', sent ? '1' : '0');

Callers 1

sendTokenToServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected