Function findSurahByAyahId

  • Finds the Surah (chapter) and Ayah (verse) numbers that the given Ayah ID belongs to.

    Parameters

    • ayaId: number

      The Ayah ID to find the Surah and Ayah numbers for.

    Returns SurahAyah

    An array containing the Surah number and the Ayah number within that Surah.