quran-meta
Version:
Library with meta data and functionality related to Holy Quran
14 lines (12 loc) • 456 B
text/typescript
import { AyahId, Juz } from "./types.cjs";
//#region src/isAyahJuzFirst.d.ts
/**
* Returns the Juz (part) number that the given Ayah (verse) belongs to.
*
*
* @param ayahId - The Ayah Id (verse) number.
* @returns The Juz (part) number that the given Ayah belongs to. Returns Positive number if ayah is first ayah of juz, number is juz number
*/
declare function isAyahJuzFirst(ayahId: AyahId): Juz | number;
//#endregion
export { isAyahJuzFirst };