Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/GetValid
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include | #include "UObject/Object.h" |
template<typename T>
const T * GetValid
(
const T * Test
)
Remarks
Returns a pointer to a valid object if the Test object passes IsValid() tests, otherwise null Pointer to a valid object if the Test object passes IsValid() tests, otherwise null
Parameters
| Name | Description |
|---|---|
| Test | The object to test |