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
Truealso compares the objects’annotationsfor equality.- Parameters:
other –
Object.deep – Whether to compare objects’ annotations.
- Returns:
Trueif successful;Falseotherwise.
See also