Prism API
    Preparing search index...

    Function getLanguage

    • Returns the Prism language of the given element set by a language-xxxx or lang-xxxx class.

      If no language is set for the element or the element is null or undefined, none will be returned.

      Parameters

      • element: Element

      Returns string