quran-meta
    Preparing search index...

    Function generatePartBlocks

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

      Parameters

      • name: "juz" | "surah" | "page" | "ruku" | "rubAlHizb" | "thumunAlHizb" | "manzil"

        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