iya-sts
    Preparing search index...

    Variable acceptLanguage

    acceptLanguage: (value: unknown) => string[] = I18n.acceptLanguage

    Type Declaration

      • (value: unknown): string[]
      • Reads an Accept-Language value (RFC 9110 section 12.5.4) — or an entry's preferredLanguage, which RFC 2798 section 2.7 says has the same syntax — into tags, best first. A q=0 tag and the wildcard are left out; a tag that is not well-formed is skipped.

        Parameters

        • value: unknown

          the header or attribute value

        Returns string[]

        canonical tags, best first