Returns the Prism language of the given element set by a language-xxxx or lang-xxxx class.
language-xxxx
lang-xxxx
If no language is set for the element or the element is null or undefined, none will be returned.
null
undefined
none
Returns the Prism language of the given element set by a
language-xxxx
orlang-xxxx
class.If no language is set for the element or the element is
null
orundefined
,none
will be returned.