Returns true if all objects of the Collection satisfy the condition.
| forAll(Block condition) | |||
|---|---|---|---|
| Argument | Block | condition | Condition which all objects of the collection have to satisfy. |
| Return value | Boolean | ||
| Formula | Result |
|---|---|
| =List{'abc','bc','c'}.forAll(x|x.size=1) | false |
