tevjef
12/12/2018, 5:17 PMval a: String? = b as String?
and val a: String? = b as? String
Edgars
12/12/2018, 5:19 PMb as? String
returns null if it cannot be cast to String
, if I'm not mistaken.Egor Trutenko
12/12/2018, 5:32 PMb
is not String?
itnoles
12/12/2018, 8:36 PM