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

Method has

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

Source from the content-addressed store, hash-verified

27 static entries: {[key: string]: google.maps.Map[]} = {};
28
29 static has(key: string) {
30 return this.entries[key] && this.entries[key].length > 0;
31 }
32
33 static pop(key: string) {
34 if (!this.entries[key]) return null;

Callers 6

isUnitlessNumberFunction · 0.80
logErrorOnceFunction · 0.80
useMap3DOptionsFunction · 0.80
useMapInstanceFunction · 0.80
useMapOptionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected