IsIdentical( l, r )
true if the objects l and r are identical.
Unchangeable objects are considered identical if the are equal.
Changeable objects, i.e., lists and records, are identical if changing
one of them by an assignment also changes the other one, as described
in Identical Lists.
gap> IsIdentical( 1, 1 ); true gap> IsIdentical( 1, () ); false gap> l := [ 'h', 'a', 'l', 'l', 'o' ];; gap> l = "hallo"; true gap> IsIdentical( l, "hallo" ); false
Previous Up Top Next