TWeakObjectPtr::IsExplicitlyNull

Returns true if this pointer was explicitly assigned to null, was reset, or was never initialized.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h

Include

#include "UObject/WeakObjectPtrTemplates.h"

Syntax

bool IsExplicitlyNull() const

Remarks

Returns true if this pointer was explicitly assigned to null, was reset, or was never initialized. If this returns true, IsValid() and IsStale() will both return false.