First of all, I'm not good at English, so please forgive me.
When checking for title and description null, is there any reason to use openGraphResult!!.title.equals("null") ? It's actually null, but it's not a string, so it's not a normal null check.
First of all, I'm not good at English, so please forgive me.
When checking for title and description null, is there any reason to use openGraphResult!!.title.equals("null") ? It's actually null, but it's not a string, so it's not a normal null check.
library : openGraphResult!!.title?.isEmpty() == true || openGraphResult!!.title.equals("null")
I think this is it openGraphResult!!.title?.isNullOrEmpty() == true || openGraphResult!!.title.equals("null")
It's always in good use. please check.
Thank you 😀