isempty()
It is unclear what kind of quantities we consider as empty currently. It is not intuitive, that isempty(quantity.Discrete())
does not return true
but crashes. However, it is not easy to fix, since isempty()
uses on()
, while on()
relies on isempty()
Edited by Jakob Gabriel