isRelativePath()function
isRelativePath(path: PossiblePath): path is RelativePath
| Param | Type | |
|---|---|---|
path | PossiblePath | The path to test. required |
| Return | |
|---|---|
path is RelativePath |
Is a string path a relative path?
Examples
isRelativePath("./a") // true