staircase.Stairs.identical

Stairs.identical(other)

Returns True if self and other represent the same step functions

Returns:
Return type:boolean

Examples

>>> s1.identical(s1)
True
>>> s1.identical(s1.copy())
True
>>> s1.identical(s1.copy().layer(1,2))
False