quran-meta
    Preparing search index...

    Function findRubAlHizb

    • Finds the Juz (part) and Rub-ul-Hizb/Maqra (quarter section) of the Quran that the given Ayah (verse) belongs to.

      Parameters

      • surah: Surah

        The Surah (chapter) number.

      • ayah: AyahNo = 1

        The Ayah (verse) number. Defaults to 1 if not provided.

      • data: RiwayaData

        The Lists object containing SurahList and HizbQuarterList.

      Returns RubAlHizbId

      An object containing the Juz (part) number, Hizb (section) number, and the index of the Hizb that the given Ayah belongs to.