Skip to content

M_CodeJam_Ranges_CompositeRange_2_Contains_5

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

CompositeRange(T, TKey).Contains Method (T, T)

Determines whether the composite range contains another range.

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

Syntax

C#

public bool Contains(
	T from,
	T to
)

VB

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

F#

member Contains : 
        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 contains another range.

See Also

Reference

CompositeRange(T, TKey) Structure
Contains Overload
CodeJam.Ranges Namespace

Clone this wiki locally