TWeakFieldPtr::IsValid

Test if this points to a live [FField](API\Runtime\CoreUObject\UObject\FField)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/WeakFieldPtr.h"

Syntax

bool IsValid
(
    bool bEvenIfPendingKill,
    bool bThreadsafeTest
) const

Remarks

Test if this points to a live FField

Returns

true if Get() would return a valid non-null pointer

Parameters

Parameter

Description

bEvenIfPendingKill, if

this is true, pendingkill objects are considered valid

bThreadsafeTest, if

true then function will just give you information whether referenced FField is gone forever (

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