(status: string | null | undefined)
| 24 | * Returns true when a subscription should still count as a paid plan entitlement. |
| 25 | */ |
| 26 | export function hasPaidSubscriptionStatus(status: string | null | undefined): boolean { |
| 27 | return ENTITLED_SUBSCRIPTION_STATUSES.includes( |
| 28 | status as (typeof ENTITLED_SUBSCRIPTION_STATUSES)[number] |
| 29 | ) |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Returns true when a subscription status is usable for product access. |
no outgoing calls
no test coverage detected