Top "Is-empty" questions

Questions about items that can be described as empty or having no data value

ValueError when checking if variable is None or numpy.array

I'd like to check if variable is None or numpy.array. I've implemented check_a function to do this. def …

python numpy is-empty
Check string for nil & empty

Is there a way to check strings for nil and "" in Swift? In Rails, I can use blank() to check. …

swift string optional is-empty
Best way to verify string is empty or null

i am sure this must have been asked before in different ways - as isEmptyOrNull is so common yet people …

java regex string trim is-empty
How do I detect empty cells in a cell array?

How do I detect empty cells in a cell array? I know the command to remove the empty cell is …

matlab cell-array is-empty
Using if(!empty) with multiple variables not in an array

I am trying to polish some code with the if(!empty) function in PHP but I don't know how to …

php is-empty
Check if list is empty without using the `not` command

How can I find out if a list is empty without using the not command? Here is what I tried: …

python list is-empty
How can I check if a Queue is empty?

In C#, how can I check if a Queue is empty? I want to iterate through the Queue's elements, and …

c# queue is-empty
Javascript: Checking if an object has no properties or if a map/associative-array is empty

Possible Duplicate: How do I test for an empty Javascript object from JSON? Is there an easy way to check …

javascript map associative-array is-empty object-property
What is the best way to check if a tuple has any empty/None values in Python?

What is the best/most efficient way to check if all tuple values? Do I need to iterate over all …

python tuples is-empty
How do I check if a $_GET parameter exists but has no value?

I want to check if the app parameter exists in the URL, but has no value. Example: my_url.php?…

php get isset is-empty