Edit

Share via


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

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector512<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