Function nextAyah

  • Get the next ayah for the given surah and ayah number.

    Parameters

    • surah: Surah

      The surah number.

    • ayah: AyahNo

      The ayah number within the surah.

    Returns SurahAyah

    The surah and ayah number of the next ayah.