ulkb.Object.equal#

Object.equal(other, deep=False)[source]#

Tests whether object is equal to other.

Two objects are equal if they are instances of the same class and their arguments (args) are equal.

If deep is True also compares the objects’ annotations for equality.

Parameters:
  • otherObject.

  • deep – Whether to compare objects’ annotations.

Returns:

True if successful; False otherwise.

See also

Object.deepequal().