Function isValidSurah

  • Checks if the given value is a valid Surah number.

    Parameters

    • x: unknown

      The value to check.

    Returns x is Surah

    true if the value is a valid Surah number, otherwise false.