Skip to content

ClosedRange<T>.RangeBuilder

StructChartGuruChartGuru
public struct ClosedRange<T>.RangeBuilder

Fluent helper for creating a closed range from lower and upper bounds.

public ClosedRange<T> To(T upperBound)

Completes the fluent range and validates that the upper bound is not below the stored lower bound.

Parameters

Name Type
upperBound {T}

Returns

ChartGuru.ClosedRange`1