TWeakInterfacePtr::IsValid

Test if this points to a live object.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/WeakInterfacePtr.h

Include

#include "UObject/WeakInterfacePtr.h"

Syntax

bool IsValid
(
    bool bEvenIfPendingKill,
    bool bThreadsafeTest
) const

Remarks

Test if this points to a live object. Parameters are passed to the underlying TWeakObjectPtr.

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