Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/TIsCastable
It's from-castable if it's an interface or a UObject-derived type.
| Name | TIsCastable |
| Type | enum |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Templates/Casts.h |
| Include Path | #include "Templates/Casts.h" |
Syntax
enum TIsCastable
{
Value = TIsIInterface<T>::Value || std::is_convertible_v<T*, const volatile UObject*>,
}
Values
| Name | Remarks |
|---|---|
| Value |