IsRec( obj )
IsRec
returns true
if the object obj, which may be an object of
arbitrary type, is a record, and false
otherwise. Will signal an error
if obj is a variable with no assigned value.
gap> IsRec( rec( a := 1, b := 2 ) ); true gap> IsRec( IsRec ); false
GAP 3.4.4