get_attrs/2

"get_attrs(+ Var,- Attributes" )

Get all attributes of Var. Attributes is a term of the form att( _Module_, _Value_, _MoreAttributes_), where MoreAttributes is [] for the last attribute.