MCPcopy Index your code
hub / github.com/simstudioai/sim / isPaid

Function isPaid

apps/sim/lib/billing/plan-helpers.ts:45–47  ·  view source on GitHub ↗
(plan: string | null | undefined)

Source from the content-addressed store, hash-verified

43}
44
45export function isPaid(plan: string | null | undefined): boolean {
46 return isPro(plan) || isTeam(plan) || isEnterprise(plan)
47}
48
49/**
50 * True when the plan **name** is a team/enterprise plan. This is a

Calls 3

isProFunction · 0.85
isTeamFunction · 0.85
isEnterpriseFunction · 0.70

Tested by

no test coverage detected