Attribute.asLanguage

Returns the attribute cast to pango.attr_language.AttrLanguage.

This is mainly useful for language bindings.

Returns

The attribute as pango.attr_language.AttrLanguage,

or null if it's not a language attribute