( pluginName: string, disabledPluginNames: string[] )
| 11 | } |
| 12 | |
| 13 | export function isMainPushPluginEnabled( |
| 14 | pluginName: string, |
| 15 | disabledPluginNames: string[] |
| 16 | ): boolean { |
| 17 | return !disabledPluginNames.includes(pluginName) |
| 18 | } |
| 19 | |
| 20 | export function removePluginNameFromSettingList(data: string[], pluginName: string): string[] { |
| 21 | return data.filter((name) => name !== pluginName) |
no outgoing calls
no test coverage detected