but, what do you want to do? this looks like an XY problem
maybe If you don’t know the class to cast, you could use an interface
but, what do you want to do? this looks like an XY problem
maybe If you don’t know the class to cast, you could use an interface