Typescript'te dizenin boş olup olmadığını nasıl kontrol edebilirim
Kod örnekleri
0
0
javascript dizenin boş olup olmadığını kontrol edin
var string = "not empty";
if(string == ""){
console.log("Please Add");
}
else{
console.log("You can pass"); // console will log this msg because our string is not empty
}