Function findPage

  • Finds the page number for the given Surah and Ayah number.

    Parameters

    • surah: number

      The Surah to find the page for.

    • ayah: number

      The Ayah number to find the page for.

    • ayahMode: boolean = false

      If true, the ayah parameter is treated as an AyahId instead of an AyahNo.

    Returns Page

    The page number for the given Surah and Ayah.