Creates a Range of the form [endpoint, ∞) or (endpoint, ∞) depending on the boundType.
created Range
lower endpoint
type of bound which must not be BoundType.NONE