FPackageName::IsValidPath

Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc).

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 IsValidPath
(
    const FString & InPath
)

Remarks

Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc).

Returns

true if a valid object path

Parameters

Parameter

Description

InObjectPath

The object path to test

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