TScriptInterface::operator bool

Boolean operator.

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.

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