contains method
Returns true
if this contains value
.
final min = Min.open(0);
min.contains(1); // true
min.contains(-1); // false
Implementation
@override
@useResult bool contains(T value) => this.value.compareTo(value) <= (closed ? 0 : -1);