6 lines
111 B
JavaScript
6 lines
111 B
JavaScript
|
|
function isPathAbsolute(filePath) {
|
||
|
|
return filePath.charAt(0) === '/';
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports = isPathAbsolute;
|