TVariant::TryGet

Get a pointer to the held value if the held type is the same as the one specified

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/TVariant.h

Include

#include "Misc/TVariant.h"

Syntax

template<typename U>
U * TryGet()

Remarks

Get a pointer to the held value if the held type is the same as the one specified

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss