OCLOperators notEmpty
This page was created by Alexandra on 2017-08-13. Last edited by Stephanie@mdriven.net on 2025-02-11.

notEmpty () : Boolean

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
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments