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

Function isTeam

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

Source from the content-addressed store, hash-verified

30}
31
32export function isTeam(plan: string | null | undefined): boolean {
33 if (!plan) return false
34 return plan === 'team' || plan.startsWith('team_')
35}
36
37export function isFree(plan: string | null | undefined): boolean {
38 return !plan || plan === 'free'

Calls

no outgoing calls

Tested by

no test coverage detected