in reply to Re^4: Is there a better way to check if an array is empty?
in thread Is there a better way to check if an array is empty?

Your code has no loop! Maybe you need to show a little more of the code? It would be even better to mock up some data and show the result you expect compared with the result you are getting - at present it's not clear because your code doesn't match your comments.

True laziness is hard work
  • Comment on Re^5: Is there a better way to check if an array is empty?