FPackagePath::HasPackageName

Return true if and only if GetPackageName returns non-empty

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "Misc/PackagePath.h"

Source

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

Syntax

bool HasPackageName() const

Remarks

Return true if and only if GetPackageName returns non-empty

Returning true is possible only for MountedPath and PackageOnly internal types. Will attempt to mount before returning false