Checks whether a value is in the sequence.

Namespace:  Sasa.Collections
Assembly:  Sasa (in Sasa.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Contains(Of T) ( _
	seq As Seq(Of T), _
	value As T _
) As Boolean
C#
public static bool Contains<T>(
	Seq<T> seq,
	T value
)
Visual C++
public:
generic<typename T>
static bool Contains(
	Seq<T>^ seq, 
	T value
)
JavaScript
JavaScript does not support generic types or methods.

Parameters

seq
Type: Sasa.Collections..::.Seq<(Of <(T>)>)
The sequence.
value
Type: T
The value to test.

Type Parameters

T
The type of the elements.

Return Value

True if the element is in the sequence, false otherwise.

See Also