( id: string | null | undefined, )
| 182 | } |
| 183 | |
| 184 | export function isFreebuffPremiumModelId( |
| 185 | id: string | null | undefined, |
| 186 | ): id is FreebuffPremiumModelId { |
| 187 | if (!id) return false |
| 188 | return FREEBUFF_PREMIUM_MODEL_IDS.some((modelId) => modelId === id) |
| 189 | } |
| 190 | |
| 191 | export function resolveSupportedFreebuffModel( |
| 192 | id: string | null | undefined, |
no outgoing calls
no test coverage detected