intl-sup
    Preparing search index...

    Function getUserLocale

    • Retrieve the current user locale.

      Returns Locale

      The current user locale.

      Throws if the local is invalid.

      1.0.0

      Browser support: Chrome 74, Edge 79, Firefox 75, Opera 62, Safari 14, Node 12, Deno 1.8, Bun 1