UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

15 lines (13 loc) 524 B
import { RiwayaData } from "./lists/types.mjs"; import { AyahId, Juz } from "./types.mjs"; //#region src/findJuzByAyahId.d.ts /** * Finds the Juz (part) of the Quran that contains the given Ayah (verse) ID. * * @param ayahId - The ID of the Ayah (verse) to find the Juz for. * @param data - The Lists object containing JuzList. * @returns The Juz (part) of the Quran that contains the given Ayah ID. */ declare function findJuzByAyahId(ayahId: AyahId, data: RiwayaData): Juz; //#endregion export { findJuzByAyahId };