Skip to content

M_CodeJam_Ranges_Range_2_TrimFrom

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

Range(T, TKey).TrimFrom Method (RangeBoundaryFrom(T))

Trims the range from the left.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public Range<T, TKey> TrimFrom(
	RangeBoundaryFrom<T> from
)

VB

Public Function TrimFrom ( 
	from As RangeBoundaryFrom(Of T)
) As Range(Of T, TKey)

F#

member TrimFrom : 
        from : RangeBoundaryFrom<'T> -> Range<'T, 'TKey> 

Parameters

 

from
Type: CodeJam.Ranges.RangeBoundaryFrom(T)
A new boundary From.

Return Value

Type: Range(T, TKey)
A range with a new From boundary or the source fange if the new boundary is less than original or an empty range if the new From boundary is greater than To boundary of the range.

See Also

Reference

Range(T, TKey) Structure
TrimFrom Overload
CodeJam.Ranges Namespace

Clone this wiki locally