IsCharTable( obj )
returns true
if obj is a record with fields centralizers
(a list)
and identifier
(a string), otherwise it returns false
.
gap> IsCharTable( rec( centralizers:= [ 2,2 ], identifier:= "C2" ) ); true
There is one exception: If the record does not contain an identifier
component, but a name
component instead, then the function returns
true
. Note, however, that this exception will disappear in forthcoming
GAP versions.
GAP 3.4.4