FTypePromotion::IsValidPromotion

Returns true if A can be promoted to type B correctly, or if the types are equal

Unreal Engine C++ API Reference > Editor > BlueprintGraph > FTypePromotion

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintTypePromotion.h
Include #include "BlueprintTypePromotion.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/BlueprintTypePromotion.cpp
static bool IsValidPromotion
(
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & A,
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & B
)

Remarks

Returns true if A can be promoted to type B correctly, or if the types are equal


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library