quran-meta
    Preparing search index...

    Function isValidManzil

    • Type guard to check if a value is a valid Manzil number

      Parameters

      • x: unknown

        The value to check

      Returns x is Manzil

      True if the value is an integer between 1 and the total number of Manzils

      if (isValidManzil(3)) {
      // value is a valid Manzil number
      }