Function getList

  • Retrieves a list of part blocks for the specified part type.

    Parameters

    • type:
          | "page"
          | "juz"
          | "surah"
          | "manzil"
          | "rubAlHizb"
          | "ruku"

      The type of part to retrieve the list for, such as "surah", "juz", "page", "manzil", "ruku" or "rubAlHizb".

    Returns PartBlock[]

    An array of part blocks, where each part block contains the starting ayah ID and the ayah count for that part.