Edit

Share via


Vector64.Any<T>(Vector64<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::Vector64<T> vector, T value);
public static bool Any<T>(System.Runtime.Intrinsics.Vector64<T> vector, T value);
static member Any : System.Runtime.Intrinsics.Vector64<'T> * 'T -> bool
Public Function Any(Of T) (vector As Vector64(Of T), value As T) As Boolean

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector64<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.

Exceptions

The type of vector and value (T) is not supported.

Applies to