quran-meta
    Preparing search index...

    Function getSurahNames

    • Retrieves the list of Surah names in the specified language.

      Parameters

      • lang: "tr" | "en" | "az" | "ru" | "uz" | "kk" | "fr" | "lt" | "tg" | "ky" | "bs"

        The language code for which to retrieve the Surah names

      Returns [
          []
          | SurahName,
          [] | SurahName,
          [] | SurahName,
          [] | SurahName,
          [] | SurahName,
          [] | SurahName,
          [] | SurahName,
          [] | SurahName,
          [] | SurahName,
      ]

      An array of Surah names in the specified language

      const arabicNames = getSurahNames('ar');
      const englishNames = getSurahNames('en');