Hi - Is there a way to check if a list is empty in...
# ask-community
i
Hi - Is there a way to check if a list is empty in the positive?
Copy code
with Flow("hello"):
    some_lst = make_lst()
    with case(some_lst.not_(), False):
        # do something
z
Hi @itay livni, would something like
with case(some_list, [])
do the trick for you?
i
@Zachary Hughes Thank you