FPackageName::IsScriptPackage

Checks the root of the package's path to see if it is a script package

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h

Include

#include "Misc/PackageName.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp

Syntax

static bool IsScriptPackage
(
    const FString & InPackageName
)

Remarks

Checks the root of the package's path to see if it is a script package

Returns

true if the root of the path matches the script path

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