CastTo

Finds the type in the TList which T can be typecast to return void if not type is found

template CastTo (
T
TList...
) {}