TwoClocks04/16/2021, 6:02 PM
In this case I could create an instance of a
if( someProp.returnType == Double::class )
and get it's type... but pretend the type is of a class that it's not easy/possible to get an instance of easily.
diesieben0704/16/2021, 6:34 PM
will give you the "raw type" (either
) which you can then compare to e.g.
TwoClocks04/16/2021, 6:38 PM