Vector64.Any<T>(Vector64<T>, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> boolPublic Function Any(Of T) (vector As Vector64(Of T), value As T) As BooleanType 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.