Function isValidJuz

  • Type guard that checks if a number is a valid Juz number

    Parameters

    • x: unknown

      The number to check

    Returns x is Juz

    True if the number is an integer between 1 and the total number of Juzs (inclusive)