in packages/geofire/src/GeoQuery.ts [396:408]
private _geohashInSomeQuery(geohash: Geohash): boolean {
const keys: string[] = Object.keys(this._currentGeohashesQueried);
for (const queryStr of keys) {
if (queryStr in this._currentGeohashesQueried) {
const query = this._stringToQuery(queryStr);
if (geohash >= query[0] && geohash <= query[1]) {
return true;
}
}
}
return false;
}