• Extract AniList ID from a MangaDex manga's external links.

    Parameters

    • mangaDexManga: MangaDexManga

      The MangaDex manga entry to extract ID from.

    Returns Promise<null | number>

    Promise resolving to AniList ID if found or null.

    Use mangaDexClient.extractAniListId() instead.

    export async function extractAniListIdFromMangaDex(
    mangaDexManga: MangaDexManga,
    ): Promise<number | null> {
    return mangaDexClient.extractAniListId(mangaDexManga);
    }