MCPcopy
hub / github.com/PostHog/posthog / isUserLoggedIn

Function isUserLoggedIn

frontend/src/lib/utils.tsx:1452–1452  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1450}
1451
1452export const isUserLoggedIn = (): boolean => !getAppContext()?.anonymous
1453
1454/** Sorting function for Array.prototype.sort that works for numbers and strings automatically. */
1455export const autoSorter = (a: any, b: any): number => {

Callers 6

teamLogic.tsxFile · 0.90
dashboardLogic.tsxFile · 0.90

Calls 1

getAppContextFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…