OCLOperatorsNotEmpty
This page was created by Peter on 2019-11-22. Last edited by Lars.olofsson@mdriven.net on 2025-02-25.

Returns true if self contains at least one element, false otherwise.

Expression Result
Sequence{2, 'a'}->notEmpty() true
Sequence{null}->notEmpty() true
Sequence{}->notEmpty() false