Alberto
06/30/2021, 6:48 PMobject::class I only get class <anonymous> so calling any of the ::simpleName or calling getOriginalClassName on it just returns nullephemient
06/30/2021, 7:00 PMAlberto
06/30/2021, 7:02 PMephemient
06/30/2021, 7:04 PMAlberto
06/30/2021, 7:10 PMAny as param. Something like class Entry(val t: Any) then if I do entry.t::class returns it as anonymousephemient
06/30/2021, 7:50 PMNSStringFromClass([t class]) or equivalent. I think you can start from
t.`class`
but I don't have macos here to testAlberto
06/30/2021, 7:56 PMephemient
06/30/2021, 8:07 PMclass needs to be escaped with backticks (which is difficult to render in Slack markdown). NSStringFromClass might need to be invoked from Swift or Obj-C though, I can't play around with the interop here