at Most
Returns true if at most n elements in the list match the given predicate.
Return
true if at most n elements match the predicate, false otherwise.
Parameters
The maximum number of elements that may match the predicate.
A function that takes an element of type T and returns a Boolean.
Throws
if n is negative.
Returns true if at most n elements in the list match the given predicate.
Return
true if at most n elements match the predicate, false otherwise.
Parameters
The maximum number of elements that may match the predicate.
A function that takes an element of type Int and returns a Boolean.
Throws
if n is negative.
Returns true if at most n elements in the list match the given predicate.
Return
true if at most n elements match the predicate, false otherwise.
Parameters
The maximum number of elements that may match the predicate.
A function that takes an element of type Long and returns a Boolean.
Throws
if n is negative.
Returns true if at most n elements in the list match the given predicate.
Return
true if at most n elements match the predicate, false otherwise.
Parameters
The maximum number of elements that may match the predicate.
A function that takes an element of type Float and returns a Boolean.
Throws
if n is negative.
Returns true if at most n elements in the list match the given predicate.
Return
true if at most n elements match the predicate, false otherwise.
Parameters
The maximum number of elements that may match the predicate.
A function that takes an element of type Double and returns a Boolean.
Throws
if n is negative.