MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / isAbsolute

Function isAbsolute

packages/core/src/utils/path.ts:173–175  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

171// posix version
172/** JSDoc */
173export function isAbsolute(path: string): boolean {
174 return path.charAt(0) === '/';
175}
176
177// posix version
178/** JSDoc */

Callers 3

fixFileLinkDependenciesFunction · 0.90
normalizePathFunction · 0.85
assertFixtureViteVersionFunction · 0.85

Calls

no outgoing calls

Tested by 1

assertFixtureViteVersionFunction · 0.68