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

Function isFree

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

Source from the content-addressed store, hash-verified

35}
36
37export function isFree(plan: string | null | undefined): boolean {
38 return !plan || plan === 'free'
39}
40
41export function isEnterprise(plan: string | null | undefined): boolean {
42 return plan === 'enterprise'

Callers 12

resolvePlanTierFunction · 0.90
derivePlanViewFunction · 0.90
canUpgradeFunction · 0.90
updateUserUsageLimitFunction · 0.90
getUserStorageLimitFunction · 0.90
validateSeatAvailabilityFunction · 0.90
getPlanPricingFunction · 0.90
BillingFunction · 0.90
useUpgradeStateFunction · 0.90
getDisplayPlanNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected