Anthony Flores
04/28/2022, 9:45 PMis  with generics?
For example if the generic is <T : SomeClass> how can check if T is a specific child of SomeClass?Joffrey
04/28/2022, 10:00 PMis cannot check the type T , it can only check an instance of T , so you would have to have an instance or a KClass<T> to do what you wantAnthony Flores
04/28/2022, 10:04 PMT, however it is the super class. It also isn't always ensured that the returned value is an instance of T, so I want to check if that is the case, and then create an instance of T with the properties of the returned values.myanmarking
04/28/2022, 10:10 PMAnthony Flores
04/28/2022, 10:11 PMT as reified param"Joffrey
04/28/2022, 10:46 PMT is not guaranteed to be one