Max<T extends Comparable<Object?>>.open constructor

const Max<T extends Comparable<Object?>>.open(
  1. T value
)

Creates a Max with the open upper bound.

In other words, this range excludes value, i.e. { x | x < value }.

Implementation

const Max.open(this.value): open = true;