/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
Checks if a package name contains characters that are invalid for package names.
static bool DoesPackageNameContainInvalidCharacters ( FStringView InLongPackageName, [EErrorCode](API\Runtime\CoreUObject\Misc\FPackageName\EErrorCode) * OutReason )