(planName: string)
| 95 | * Get a specific plan by name |
| 96 | */ |
| 97 | export function getPlanByName(planName: string): BillingPlan | undefined { |
| 98 | return getPlans().find((plan) => plan.name === planName) |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Get a specific plan by Stripe price ID. |
no test coverage detected