UNPKG

@maz-ui/utils

Version:

Utils of maz-ui for JavaScript/TypeScript users

12 lines (11 loc) 252 B
import { isServer as e } from "./isServer.js"; function t() { try { return e() ? void 0 : globalThis.navigator.language; } catch (r) { throw new Error(`[MazInputPhoneNumber] (browserLocale) ${r}`); } } export { t as getBrowserLocale };