To clarify the original question:
For instance say I want to take an object return value and cast it to a class, but the class I want to cast it to depends on some other conditions (the class is variable and will change with execution.)
That’s the kind of node I am looking for. If it exists, where do I find it? Also, if it doesn’t exist How would I go about doing this in the most scalable (and hopefully efficient) way possible?
Thinking about the code, this may not even be possible due to limitations in C - family languages as I am not sure that you can even do such a cast in C++ as the ‘as’ keyword takes a type as a second operand, which I’m not sure can be replaced by a variable.