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

Function cameFromOutside

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

Source from the content-addressed store, hash-verified

208};
209
210const cameFromOutside = (): boolean =>
211 !!globalThis?.document?.referrer && !isSameSiteReferrer();
212
213const nearestWithPath = (stack: RouteStack, path: string): number => {
214 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