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 }
In Swift 4
if (array.isEmpty) { print("Array is empty") } else{ print("Array is not empty") }