MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / isFunnelRule

Function isFunnelRule

packages/db/src/services/notification.service.ts:377–378  ·  view source on GitHub ↗
(rule: INotificationRuleCached)

Source from the content-addressed store, hash-verified

375}
376
377const isFunnelRule = (rule: INotificationRuleCached) =>
378 rule.config.type === 'funnel';
379
380export function getHasFunnelRules(rules: INotificationRuleCached[]) {
381 return rules.some(isFunnelRule);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected