--- layout: stdlib-reference --- # CoopVec\\.lessThanOrEquals ## Description Compares two cooperative vectors lexicographically. ## Signature
bool CoopVec<T, int N>.lessThanOrEquals(CoopVec<T, N> other)
    where T : __BuiltinArithmeticType;

## Parameters #### other : [CoopVec](index.html)\<[T](index.html#typeparam-T), [N](index.html#decl-N)\> The cooperative vector to compare against. ## Return value True if this vector is lexicographically less than or equal to the other vector. ## Remarks This function exists only to conform to IComparable. For cooperative vectors, lexicographical comparison has limited practical use since the vectors are meant for parallel computation rather than ordering.