Function prevAyah

  • Get the previous 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 previous ayah.