quran-meta
Version:
Library with meta data and functionality related to Holy Quran
14 lines (12 loc) • 444 B
text/typescript
import { AyahNo, Juz, Surah } from "./types.cjs";
//#region src/findJuz.d.ts
/**
* Finds the Juz (part) of the Quran that the given Ayah (verse) belongs to.
*
* @param surah - The Surah (chapter) number.
* @param ayah - The Ayah (verse) number. Defaults to 1 if not provided.
* @returns The Juz (part) number that the given Ayah belongs to.
*/
declare function findJuz(surah: Surah, ayah?: AyahNo): Juz;
//#endregion
export { findJuz };