closed property

bool get closed

Whether the upper bound is closed.

In other words, whether the range includes value, i.e. { x | x <= value }.

Implementation

bool get closed => !open;