UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

14 lines (12 loc) 411 B
const require_getSurahInfo = require('./getSurahInfo.cjs'); //#region src/getAyahCountInSurah.ts /** * Get the number of ayahs (verses) in the specified surah. * @param surah - The surah number. * @returns The number of ayahs in the specified surah. */ function getAyahCountInSurah(surah) { return require_getSurahInfo.getSurahInfo(surah)[1]; } //#endregion exports.getAyahCountInSurah = getAyahCountInSurah;