Value of FProperty

I think you might be able to write:

if (const FBoolProperty* BoolProperty = CastField<FBoolProperty>(Property)) {

instead (which does the IsA and cast and checks for null in one move, like dynamic_cast) , but haven’t tested it sorry.

1 Like