MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isAbsolute

Function isAbsolute

src/utils/Path.js:77–79  ·  view source on GitHub ↗

* The path.isAbsolute() method determines if path is an absolute path. * @param {string} path

(path)

Source from the content-addressed store, hash-verified

75 * @param {string} path
76 */
77 isAbsolute(path) {
78 return path.startsWith("/");
79 },
80
81 /**
82 * Joins the given number of paths

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected