Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to check if a list is empty #805

Closed
saig0 opened this issue Feb 9, 2024 · 0 comments · Fixed by #851
Closed

Add function to check if a list is empty #805

saig0 opened this issue Feb 9, 2024 · 0 comments · Fixed by #851

Comments

@saig0
Copy link
Member

saig0 commented Feb 9, 2024

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant