tweb/src/environment/geolocationSupport.ts

4 lines
130 B
TypeScript
Raw Permalink Normal View History

2022-01-16 03:45:41 +01:00
const IS_GEOLOCATION_SUPPORTED = !!navigator?.geolocation?.getCurrentPosition && false;
export default IS_GEOLOCATION_SUPPORTED;