FUObjectArray::IsValid

Checks if a [UObject](API\Runtime\CoreUObject\UObject\UObject) pointer is valid

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectArray.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectArray.cpp

Syntax

bool IsValid
(
    const UObjectBase * Object
) const

Remarks

Checks if a UObject pointer is valid

Checks if a UObject index is valid

Returns

true if this index is valid

Parameters

Parameter

Description

Object

object to test for validity

Object

object to test for validity

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