IEnumerable<T>.AtMost Method

Definition

Determines whether or not the number of elements in the sequence is lesser than or equal to the given count.

Delphi
function AtMost(count: Integer): Boolean

Parameters

count
Integer

The maximun number of items the sequence must have for this function to return true.

Returns

Boolean

True if the number of elements in the sequence is lesser than or equal to the given count; otherwise, False .

Exceptions

count is negative.