MCPcopy Create free account
hub / github.com/Noumena-Network/code / isConsumerPlan

Function isConsumerPlan

src/utils/auth.ts:2120–2122  ·  view source on GitHub ↗
(plan: SubscriptionType)

Source from the content-addressed store, hash-verified

2118}
2119
2120function isConsumerPlan(plan: SubscriptionType): plan is 'max' | 'pro' {
2121 return plan === 'max' || plan === 'pro'
2122}
2123
2124export function isConsumerSubscriber(): boolean {
2125 const subscriptionType = getSubscriptionType()

Callers 1

isConsumerSubscriberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected