PlatformPath
Properties
The platform-specific file delimiter. ';' or ':'.
Posix specific pathing. Same as parent object on posix.
The platform-specific file separator. '\\' or '/'.
Windows specific pathing. Same as parent object on windows
Functions
Returns a path string from an object - the opposite of parse().
Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
The path.matchesGlob()
method determines if path
matches the pattern
.
Returns an object from a path string - the opposite of format().
On Windows systems only, returns an equivalent namespace-prefixed path for the given path. If path is not a string, path will be returned without modifications. This method is meaningful only on Windows system. On POSIX systems, the method is non-operational and always returns path without modifications.