Vector<T>.Any Method

Returns whether any of the elements of the vector satisfy a condition.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public virtual bool Any(
	Func<T, bool> condition
)

Parameters

condition  Func<T, Boolean>
 

Return Value

Boolean
true if at least one element satisfies condition; otherwise false.

See Also