quran-meta
    Preparing search index...

    Function findPagebyAyahId

    • Returns the page number for a given ayah ID in the Quran.

      Parameters

      • ayahId: number

        A numeric identifier representing a verse (ayah) in the Quran

      • data: RiwayaData

        The Lists object for the riwaya.

      Returns Page

      The page number where the specified ayah can be found

      Will throw an error if the ayahId is invalid

      const page = findPagebyAyahId(142, HafsLists); // Returns the page number containing ayah 142