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

Function isInsightQueryNode

frontend/src/queries/utils.ts:95–105  ·  view source on GitHub ↗
(node?: Node)

Source from the content-addressed store, hash-verified

93}
94
95export function isInsightQueryNode(node?: Node): node is InsightQueryNode {
96 return (
97 isTrendsQuery(node) ||
98 isFunnelsQuery(node) ||
99 isRetentionQuery(node) ||
100 isPathsQuery(node) ||
101 isStickinessQuery(node) ||
102 isLifecycleQuery(node) ||
103 isUnimplementedQuery(node)
104 )
105}

Callers 3

queryFunction · 0.90
dataNodeLogic.tsFile · 0.90
QueryFunction · 0.90

Calls 7

isTrendsQueryFunction · 0.85
isFunnelsQueryFunction · 0.85
isRetentionQueryFunction · 0.85
isPathsQueryFunction · 0.85
isStickinessQueryFunction · 0.85
isLifecycleQueryFunction · 0.85
isUnimplementedQueryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…