MCPcopy Create free account
hub / github.com/dailydotdev/apps / cameFromOutside

Function cameFromOutside

packages/shared/src/components/shell/shellNav.ts:207–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205};
206
207const cameFromOutside = (): boolean =>
208 !!globalThis?.document?.referrer && !isSameSiteReferrer();
209
210const nearestWithPath = (stack: RouteStack, path: string): number => {
211 for (let distance = 1; distance < stack.routes.length; distance += 1) {

Callers 1

recordShellRouteFunction · 0.85

Calls 1

isSameSiteReferrerFunction · 0.85

Tested by

no test coverage detected