TScriptInterface::operator bool

Boolean operator.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/ScriptInterface.h"

Syntax

operator bool() const

Remarks

Boolean operator. Provides transparent access to the interface pointer contained by this TScriptInterface.

Returns

true if InterfacePointer is non-NULL.