• Checks if an AniList ID is in the ignored duplicates list.

    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("[Storage] Error checking if AniList ID is ignored", error);
    return false;
    }
    }