• Check if a manga source is available and configured.

    Parameters

    • source: MangaSource

      The manga source enum value to check.

    Returns boolean

    True if the source has a configuration.

    export function isMangaSourceAvailable(source: MangaSource): boolean {
    return source in MANGA_SOURCE_CONFIGS;
    }