@speed-highlight/core
    Preparing search index...

    Function detectLanguage

    • Try to find the language the given code belong to

      detectLanguage

      Parameters

      • code: string

        The code

      Returns ShjLanguage

      The language of the code