AutoMovie API
    Preparing search index...

    Variable parseAutoMovieCaptionLanguageConst

    parseAutoMovieCaptionLanguage: (
        value: string,
    ) => IAutoMovieCaptionLanguageIdentity | null = ...

    Parse one RFC 5646 well-formed language tag without registry semantics, or return null for a malformed tag.

    Grandfathered tags are the 26 fixed productions RFC 5646 lists, matched case-insensitively. Every other tag is checked against its langtag and privateuse grammar, including the uniqueness requirements for variants and extension singletons. Well-formed is the whole admission rule: a tag is never looked up in the IANA registry, so a well-formed but unregistered subtag is accepted.

    Type Declaration