IsNearring( obj )
IsNearring
returns true
if the object obj is a near-ring
and false
otherwise. This function simply checks if the record
component obj.isNear-ring
is bound to the value true
.
gap> n := LibraryNearring( "C3", 4 ); LibraryNearring( "C3", 4 ) gap> IsNearring( n ); true gap> IsNearring( nr ); true gap> IsNearring( Integers ); false # Integers is a ring record, not a near-ring record
GAP 3.4.4