Add function to check if a list is empty
Closed this issue · 0 comments
saig0 commented
Is your feature request related to a problem? Please describe.
Currently, there is no function to check if a list is empty. The only way is to use the count()
function. It works but it is not very (business) friendly.
count(myList) = 0
Describe the solution you'd like
Add a new function to check if a list is empty.
// function signature
is empty(list: List<Any>): Boolean
// examples
is empty([]) // --> true
is empty([1]) // --> false
Related issues
- Camunda Autormation Platform 7:
- Zeebe broker: