MCPcopy Index your code
hub / github.com/angular/angular-cli / isAbsolute

Function isAbsolute

packages/angular_devkit/core/src/virtual-fs/path.ts:121–123  ·  view source on GitHub ↗
(p: Path)

Source from the content-addressed store, hash-verified

119 * Returns true if a path is absolute.
120 */
121export function isAbsolute(p: Path): boolean {
122 return p.startsWith(NormalizedSep);
123}
124
125/**
126 * Returns a path such that `join(from, relative(from, to)) == to`.

Callers 10

_toAbsoluteMethod · 0.90
relativeFunction · 0.85
resolveFunction · 0.85
applyMethod · 0.85
isWithinAllowedRootFunction · 0.85
checkPathFunction · 0.85
findAngularJsonFilesFunction · 0.85
deduplicateSearchRootsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected