Struct Interval

An integer interval from a start until an end. end is one past last, such as end-start = length

struct Interval(T)
  
if (isIntegral!T);

Fields

NameTypeDescription
end Tone past last
start Tstart of interval

Properties

NameTypeDescription
length[get] Tend-start