Book

data class Book

Represents a book in the Bible, containing information about its chapters and verses.

Properties

Link copied to clipboard

The name of the book.

Link copied to clipboard

The total number of chapters in the book.

Functions

Link copied to clipboard

Generates a list of VerseID objects for all verses in this book.

fun allVerseIDs(chapter: Int): List<VerseID>

Generates a list of VerseID objects for all verses in a specific chapter in this book.

Link copied to clipboard
fun totalVerses(chapter: Int): Int

Returns the total number of verses in a given chapter.