SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function getLocaleProfile

    • Parameters

      • tag: string
      • Optionaloverrides: LocaleProfileOverrides | null

      Returns LocaleProfile

      Building a profile probes Intl a dozen times, which is measurably expensive. Callers on hot paths (input parsing, formatting) should use this rather than constructing a profile per call. overrides participate in the cache key, so a workbook's customized profile is memoized just like a plain-tag one.