Skip to content

M_CodeJam_Ranges_Range_2_HasIntersection_1

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

Range(T, TKey).HasIntersection Method (T, T)

Determines whether the range has intersection with another range.

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

Syntax

C#

public bool HasIntersection(
	T from,
	T to
)

VB

Public Function HasIntersection ( 
	from As T,
	to As T
) As Boolean

F#

member HasIntersection : 
        from : 'T * 
        to : 'T -> bool 

Parameters

 

from
Type: T
The boundary From value of the range to check.
to
Type: T
The boundary To value of the range to check.

Return Value

Type: Boolean
true, if the range has intersection with another range.

See Also

Reference

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

Clone this wiki locally