method default.PlatformPath.isAbsolute
Jump to headingPlatformPath.isAbsolute(path: string): booleanDetermines 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.
Parameters Jump to heading
Jump to headingpath: stringpath to test.
Return Type Jump to heading
booleanThrows Jump to heading
TypeErrorif path is not a string.