self-assert / Requirements / allSatisfy
Function: allSatisfy()
allSatisfy<
ElementType>(predicate): (list) =>boolean
Returns a predicate that holds when all elements of the list satisfy the given condition
Type Parameters
| Type Parameter |
|---|
ElementType |
Parameters
| Parameter | Type |
|---|---|
predicate | Predicate<ElementType> |
Returns
(
list):boolean
Parameters
| Parameter | Type |
|---|---|
list | Iterable<ElementType> |
Returns
boolean
