quran-meta
    Preparing search index...

    Function generatePartBlocks

    • Retrieves a formatted list of Quran parts based on the specified type.

      Type Parameters

      • P extends "page" | "juz" | "surah" | "ruku" | "rubAlHizb" | "thumunAlHizb" | "manzil"

      Parameters

      • name: P

        The type of parts to retrieve (e.g., juz, hizb, rub)

      • data: RiwayaData

        The Lists object for the riwaya.

      Returns PartBlock[] | null

      An array of formatted part blocks, excluding the first and last elements