OCLOperatorsNotEmpty
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>


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

Revision as of 07:47, 17 June 2024

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 - otherwise, returns false.

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