IsValid

Test validity of object

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Object.h"

Syntax

bool IsValid
(
    const UObject * Test
)

Remarks

Test validity of object

Returns

Return true if the object is usable: non-null and not pending kill or garbage

Parameters

Parameter

Description

Test

The object to test