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

      • meta: QuranMeta

      Returns asserts x is Manzil

      If the value is not an integer

      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