shortestSurah property
Surah
get
shortestSurah
Get the shortest surah
Implementation
Surah get shortestSurah {
return surahs.reduce(
(curr, next) => curr.numberOfAyahs < next.numberOfAyahs ? curr : next);
}