const
isAbsolute: (path
) => boolean
= upath.isAbsolute
Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
Parameters
Parameter | Type | Description |
---|
path
|
string
|
path to test.
|
Returns
boolean