Since, Base.isless(u::AbstractInterval, v::AbstractInterval) is defined, the same will propagate down to IntervalValue.
Technically, isequal(u, v) should be similar to !isless(u, v) && !isless(v, u).
But, isequal(u::IntervalValue, v::IntervalValue) will take into consideration the u.value and v.value parameters. This may lead to anomalous behavior in some cases. Like if you are using cmp(u, v) for example.
Since,
Base.isless(u::AbstractInterval, v::AbstractInterval)is defined, the same will propagate down toIntervalValue.Technically,
isequal(u, v)should be similar to!isless(u, v) && !isless(v, u).But,
isequal(u::IntervalValue, v::IntervalValue)will take into consideration theu.valueandv.valueparameters. This may lead to anomalous behavior in some cases. Like if you are usingcmp(u, v)for example.