TSharedPtr::IsValid

Checks to see if this shared pointer is actually pointing to an object

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h

Include

#include "Templates/SharedPointer.h"

Syntax

const bool IsValid() const

Remarks

Checks to see if this shared pointer is actually pointing to an object

Returns

True if the shared pointer is valid and can be dereferenced

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