-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_Range_1_TrimTo
Andrew Koryavchenko edited this page Jun 17, 2018
·
1 revision
Trims the range from the right.
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public Range<T> TrimTo(
RangeBoundaryTo<T> to
)
VB
Public Function TrimTo (
to As RangeBoundaryTo(Of T)
) As Range(Of T)
F#
member TrimTo :
to : RangeBoundaryTo<'T> -> Range<'T>
- to
- Type: CodeJam.Ranges.RangeBoundaryTo(T)
A new boundary To.
Type: Range(T)
A range with a new To boundary or the source fange if the new boundary is greater than original or an empty range if the new To boundary is less than From boundary of the range.