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

Function isURLObjectRelative

packages/core/src/utils/url.ts:53–55  ·  view source on GitHub ↗
(url: URLObject)

Source from the content-addressed store, hash-verified

51 * @returns True if the URL object is relative, false otherwise
52 */
53export function isURLObjectRelative(url: URLObject): url is RelativeURL {
54 return 'isRelative' in url;
55}
56
57/**
58 * Parses string to a URL object

Callers 7

url.test.tsFile · 0.90
getFetchSpanAttributesFunction · 0.90
checkDsnFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected