MCPcopy
hub / github.com/visgl/react-google-maps / pop

Method pop

src/components/map/use-map-instance.ts:33–37  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

31 }
32
33 static pop(key: string) {
34 if (!this.entries[key]) return null;
35
36 return this.entries[key].pop() || null;
37 }
38
39 static push(key: string, value: google.maps.Map) {
40 if (!this.entries[key]) this.entries[key] = [];

Callers 1

useMapInstanceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected