Type guard to check if a value is a valid Manzil number
The value to check
True if the value is an integer between 1 and the total number of Manzils
if (isValidManzil(3)) { // value is a valid Manzil number} Copy
if (isValidManzil(3)) { // value is a valid Manzil number}
Type guard to check if a value is a valid Manzil number