TWeakInterfacePtr::IsValid

Test if this points to a live object.

Choose your operating system:

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.