how to do a null check kotlin code example Example: null check in kotlin if(a != null) { //do something }