• Check if a specific AniList ID is ignored

    Parameters

    • anilistId: number

      The AniList ID to check

    Returns boolean

    True if the ID is ignored, false otherwise

    export function isAniListIdIgnored(anilistId: number): boolean {
    try {
    const ignored = getIgnoredDuplicates();
    return ignored.some((item) => item.anilistId === anilistId);
    } catch (error) {
    console.error("Error checking if AniList ID is ignored", error);
    return false;
    }
    }