Vector256.Any<T>(Vector256<T>, T) Method

Definition

Determines if any elements of a vector are equal to a given value.

public:
generic <typename T>
 static bool Any(System::Runtime::Intrinsics::Vector256<T> vector, T value);
public static bool Any<T>(System.Runtime.Intrinsics.Vector256<T> vector, T value);
static member Any : System.Runtime.Intrinsics.Vector256<'T> * 'T -> bool
Public Function Any(Of T) (vector As Vector256(Of T), value As T) As Boolean

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector256<T>

The vector whose elements are being checked.

value
T

The value to check for in vector

Returns

true if any elements of vector are equal to value; otherwise, false.

Applies to