Skip to content

M_CodeJam_Ranges_CompositeRange_1_HasIntersection_2

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

CompositeRange(T).HasIntersection Method (T, T)

Determines whether the composite 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 composite range has intersection with another range.

See Also

Reference

CompositeRange(T) Structure
HasIntersection Overload
CodeJam.Ranges Namespace

Clone this wiki locally