How check data is empty in jQuery? 1 April 2022 Enpatika.com Genel if(data && data != “”) alert(data); data will be null in your case, and null != “” , so the if is passing. Sizin İçin Seçtik What is the purpose of MaterialApp in Flutter?