MCPcopy
hub / github.com/bower/bower / isPathAbsolute

Function isPathAbsolute

lib/util/isPathAbsolute.js:1–3  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

1function isPathAbsolute(filePath) {
2 return filePath.charAt(0) === '/';
3}
4
5module.exports = isPathAbsolute;

Callers 2

relativeToBaseDirFunction · 0.85
isPathAbsolute.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…