I want to check if my array is empty or null, and on base of which I want to create a condition for example.
if(array == EMPTY){ //do something }
if (!array || !array.count){ ... }
That checks if array is not nil, and if not - check if it is not empty.