iya-sts
    Preparing search index...

    Variable canonical

    canonical: (tag: unknown) => string = I18n.canonical

    Type Declaration

      • (tag: unknown): string
      • Canonicalises a language tag, or answers '' for one that is not well-formed (RFC 5646).

        tl becomes fil, iw becomes he, and case is normalised.

        Parameters

        • tag: unknown

          the tag as given

        Returns string

        the canonical tag, or ''