Hi, How do you check if a list is empty in web2py ? Basically I need to check this logic:
result = tm.get_stops(lat, lon);
I want to see if result is empty or not.
Thanks,
--
Hi, How do you check if a list is empty in web2py ? Basically I need to check this logic:
result = tm.get_stops(lat, lon);
I want to see if result is empty or not.
Thanks,
--