@hebcal/leyning
    Preparing search index...

    Function subtractVerses

    • Finds the number of verses between two locations in the same book.

      Parameters

      • book: string

        The English name of the book (e.g. "Numbers")

      • from: string

        The starting verse (e.g. "28:9")

      • to: string

        The ending verse (e.g. "28:15")

      Returns number

      The number of verses between the two locations, excluding the to verse.