20.3 IsPerm

IsPerm( obj )

IsPerm returns true if obj, which may be an object of arbitrary type, is a permutation and false otherwise. It will signal an error if obj is an unbound variable.

    gap> IsPerm( (1,2) );
    true
    gap> IsPerm( 1 );
    false 

Previous Up Top Next
Index

GAP 3.4.4
April 1997