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

Function isMax

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

Source from the content-addressed store, hash-verified

26}
27
28export function isMax(plan: string | null | undefined): boolean {
29 return isPro(plan) && getPlanTierCredits(plan) >= 25000
30}
31
32export function isTeam(plan: string | null | undefined): boolean {
33 if (!plan) return false

Callers 1

Calls 2

isProFunction · 0.85
getPlanTierCreditsFunction · 0.85

Tested by

no test coverage detected