Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FVersePath
Description
Tests whether this Verse path is a base Verse path of Other
Examples: "/domain1/path1", "/domain1/path1" -> true, "" "/domain1/path1", "/domain1/path1/leaf" -> true, "leaf" "/domain1/path1", "/domain1/path1/path2/leaf" -> true, "path2/leaf" "/domain1/path1", "/domain1/path2/leaf" -> false, "" "/domain1/path1", "/domain2/path1/leaf" -> false, ""
| Name | IsBaseOf |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/VersePath.h |
| Include Path | #include "Containers/VersePath.h" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/VersePath.cpp |
bool IsBaseOf
(
const FVersePath & Other,
FStringView * OutLeafPath
) const
true if Other is relative or equal to this Verse path
Parameters
| Name | Remarks |
|---|---|
| Other | The Verse path to test against |
| OutLeafPath | The path segment of Other that is relative to this Verse path, ommiting the leading '/'. Empty if the two Verse paths are equal |