const s = (t) => {
  let a;
  if (t) {
    const e = Number.parseFloat(t.lat), n = Number.parseFloat(t.lng);
    !Number.isNaN(e) && !Number.isNaN(n) && (a = { lat: e, lng: n });
  }
  return a;
}, i = {
  getPosition: s
};
export {
  i as default
};
//# sourceMappingURL=index.es31.js.map
