FPaths::IsUnderDirectory

Determines if a path is under a given directory

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Paths.h

Include

#include "Misc/Paths.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/Paths.cpp

Syntax

static bool IsUnderDirectory
(
    const FString & InPath,
    const FString & InDirectory
)

Remarks

Determines if a path is under a given directory

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