TaggedInterval.empty

Returns true iff the interval is empty. An interval is empty iff begin == end.

struct TaggedInterval
@property
bool
empty
pure const nothrow
(
)

Examples

assert(TaggedInterval().empty);
assert(!TaggedInterval(1, 10, 20).empty);
assert(!TaggedInterval(2, 20, 40).empty);
assert(TaggedInterval(3, 60, 60).empty);

Meta