Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckRootedPath()

static bool System.ComponentModel.SyntaxCheck.CheckRootedPath ( string value)
inlinestatic

Definition at line 35 of file SyntaxCheck.cs.

36 {
37 if (value == null)
38 {
39 return false;
40 }
41 value = value.Trim();
42 if (value.Equals(string.Empty))
43 {
44 return false;
45 }
46 return Path.IsPathRooted(value);
47 }
static bool IsPathRooted([NotNullWhen(true)] string? path)
Definition Path.cs:985

References System.IO.Path.IsPathRooted(), and System.value.