Function nextAyah

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

    Parameters

    • surah: number

      The surah number.

    • ayah: number

      The ayah number within the surah.

    Returns SurahAyah

    The surah and ayah number of the next ayah.