GAP Manual: 24.6. IsAgWord

IsAgWord( obj )

IsAgWord returns true if obj, which can be an arbitrary object, is an ag word and false otherwise.

    gap> IsAgWord( 5 );
    false
    gap> IsAgWord( a );
    true 

[next] [prev] [up]