Home
Mahendran
Cancel

Kotlin safe casting

In multiple cases you might’ve came across the situation where you have to cast a global variable and check the instance beforehand. A most common case in Android environment is to check whether...