quran-meta
    Preparing search index...

    Function getList

    • Returns the raw boundary list for a kind of part, e.g. the PageList for "page".

      Parameters

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

        The kind of part

      • lists: RiwayaData

        The Lists object for the riwaya

      Returns
          | [
              SurahInfo,
              SurahInfo,
              SurahInfo,
              SurahInfo,
              SurahInfo,
              SurahInfo,
              SurahInfo,
              SurahInfo,
              SurahInfo,
              SurahInfo,
          ]
          | number[]

      The list: ayah ids of each part's first ayah, or SurahInfo tuples for "surah"

      Error If the part type is unknown or the riwaya has no data for it