eygraber
03/06/2017, 9:49 PMString?
would print int?
inline val <reified T : Any?> T.TAG get() = ((this as? Any)?.javaClass?.simpleName ?: "${T::class.java.simpleName ?: "null"}?").replace("CompanionObject", "")
mfulton26
03/06/2017, 10:28 PMeygraber
03/06/2017, 10:30 PMmfulton26
03/06/2017, 10:30 PMeygraber
03/06/2017, 10:30 PMmfulton26
03/06/2017, 10:33 PMTAG
on anything related to resources (which are `Int`s)? I guess I'm wondering what you get if you call x.TAG
on val x: String? = null
.eygraber
03/06/2017, 11:47 PMint?
mfulton26
03/07/2017, 1:34 PM