quran-meta
    Preparing search index...

    Function checkValidManzil

    • Type guard that checks if a value is a valid Manzil number.

      Parameters

      • x: unknown

        The value to check

      Returns asserts x is Manzil

      TypeError If the value is not an integer

      RangeError If the value is not within valid Manzil range (1 to max manzils)

      This is an assertion function that ensures the input is a valid Manzil type