var name = "test" println("Name: $name")
var name: String? = null if (TextUtils.isEmpty(name)) { Log.i("exists", "empty") // "", null } else { Log.i("exists", "not empty")// "hoge" }