Function findSurahByAyahId

  • Finds a Surah based on the provided Ayah ID.

    Parameters

    • ayaId: number

      The unique identifier of the Ayah

    Returns Surah

    The Surah that contains the specified Ayah

    const surah = findSurahByAyahId(1234);