Function isAyahPageFirst

  • Determines if the given ayah is the first ayah of a juz.

    Parameters

    • ayahId: number

      The ayah id .

    Returns number

    The page number if the ayah is the first ayah of the page, otherwise -1.