Chetak Bhimani
fun String.checkEmpty(str: String?): String? { if (!TextUtils.isEmpty(str)) { return str } else { return null } }
Satyam G