ImmutableArrayExtensions::Any<T> Method (ImmutableArray<T>)

 

Gets a value indicating whether the array contains any elements.

Namespace:   System.Linq
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public:
generic<typename T>
[ExtensionAttribute]
static bool Any(
	ImmutableArray<T> immutableArray
)

Parameters

immutableArray
Type: System.Collections.Immutable::ImmutableArray<T>

The array to check for elements.

Return Value

Type: System::Boolean

true if the array contains an elements; otherwise, false.

Type Parameters

T

The type of element contained by the collection.

Return to top
Show: