Skip to main content

spec_range_inclusive_is_empty

Function spec_range_inclusive_is_empty 

Source
pub open spec fn spec_range_inclusive_is_empty<Idx: PartialOrd<Idx>>(
    r: &RangeInclusive<Idx>,
) -> bool
Expand description
{ !r@.start.is_le(&r@.end) || r@.exhausted }