platform-bible-utils
    Preparing search index...

    Function scrRefToBBBCCC

    • Get the Scripture reference as an easily comparable/sortable integer, without considering the verse.

      Parameters

      • scrRef: SerializedVerseRef

        The Scripture reference.

      Returns number

      An integer where the first three digits represent the book, the next three represent the chapter and the last three represent the verse.