Iterates over every ayah in a part of the Quran, in order.
The kind of part
The part number, starting at 1
The Lists object for the riwaya
[surah, ayah] for every ayah of the part
[surah, ayah]
RangeError If num is outside the parts of that kind
num
for (const [surah, ayah] of ayahsInPart("page", 604, HafsLists)) { console.log(`${surah}:${ayah}`) // 112:1 ... 114:6}const ayahs = [...ayahsInPart("ruku", 1, HafsLists)] Copy
for (const [surah, ayah] of ayahsInPart("page", 604, HafsLists)) { console.log(`${surah}:${ayah}`) // 112:1 ... 114:6}const ayahs = [...ayahsInPart("ruku", 1, HafsLists)]
Iterates over every ayah in a part of the Quran, in order.