VerseID

data class VerseID(val value: String)

Represents the unique identifier for a verse in the Bible. The ID follows the format "book:chapter:verse" where:

  • book is a number from 1-66 representing the book's position in the Bible

  • chapter is the chapter number within that book

  • verse is the verse number within that chapter

For example, "1:1:1" represents Genesis 1:1 (first book, first chapter, first verse)

Constructors

Link copied to clipboard
constructor(value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The string representation of the verse ID in the format "book:chapter:verse"

Functions

Link copied to clipboard

Returns a human-readable description of the verse ID, including the book name and chapter:verse. For example, "Genesis 1:1" for verse ID "1:1:1".

Link copied to clipboard

Gets the BookName enum value for this verse's book. The book number (first component) is used to index into the BookName entries.

Link copied to clipboard

Returns the chapter and verse numbers as a colon-separated string. For example, "1:1" for verse ID "1:1:1".