quran-meta
    Preparing search index...

    Function isValidHizb

    • Type guard to check if a number is a valid Hizb number

      Parameters

      • x: unknown

        The number to check

      • meta: QuranMeta

      Returns x is HizbId

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