quran-meta
Version:
Library with meta data and functionality related to Holy Quran
14 lines (12 loc) • 472 B
text/typescript
import { RiwayaData } from "./lists/types.mjs";
import { AyahNo, Surah } from "./types.mjs";
//#region src/getAyahCountInSurah.d.ts
/**
* Get the number of ayahs (verses) in the specified surah.
* @param surah - The surah number.
* @param data - The Lists object containing SurahList.
* @returns The number of ayahs in the specified surah.
*/
declare function getAyahCountInSurah(surah: Surah, data: RiwayaData): AyahNo;
//#endregion
export { getAyahCountInSurah };