GAP Manual: 7.4. IsGroupElement

IsGroupElement( obj )

IsGroupElement returns true if obj, which may be an object of arbitrary type, is a group element, and false otherwise. The function will signal an error if obj is an unbound variable.

    gap> IsGroupElement( 10 );
    false
    gap> IsGroupElement( (11,10) );
    true
    gap> IsGroupElement( IdWord );
    true 

[next] [prev] [up]