trimmed By Range
fun <BoundType : Comparable<BoundType>> ClosedRange<BoundType>.trimmedByRange(other: ClosedRange<BoundType>, rangeFactory: RangeFactory<BoundType>): ClosedRange<BoundType>
Returns a new range by trimming this by other's bounds.
Parameters
other
the other range.
range Factory
the range factory.