method default.PlatformPath.isAbsolute
PlatformPath.isAbsolute(path: string): boolean
Deprecated
Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
If the given {path} is a zero-length string, false
will be returned.
boolean
TypeError
if path
is not a string.