Determines if a given Surah and Ayah combination marks the beginning of a Juz.
The Surah number to check
The Ayah number within the Surah to check
The Juz number if the combination marks the start of a Juz, -1 otherwise
Error When the provided Surah number is invalid
isSurahAyahJuzFirst(2, 142) // Returns 2isSurahAyahJuzFirst(2, 143) // Returns -1 Copy
isSurahAyahJuzFirst(2, 142) // Returns 2isSurahAyahJuzFirst(2, 143) // Returns -1
Determines if a given Surah and Ayah combination marks the beginning of a Juz.