OCLOperatorsNotEmpty
This page was created by Peter on 2019-11-22. Last edited by Edgar on 2025-08-31.
Returns true if self contains at least one element - otherwise, returns false.
| Expression | Result |
|---|---|
| Sequence{2, 3}->notEmpty() | true |
| Sequence{nil}->notEmpty() | true |
| <class>.EmptyList->notEmpty() | false |
