Island/Oxygene - Pass a Type as parameter

In Delphi, we can use class reference, like TClass = class of TObject

In Island, is there a counterpart? Or I need to use template generics to do that?

class of should be supported just fine.

1 Like

Alternatively, &Type as a type works too, which is the rtti type for a type.

1 Like