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
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.Describe the solution you'd like Add a new function to check if a list is empty.
Related issues