EditionPageNumber
public struct EditionPageNumber : Hashable, Sendable
EditionPageNumber
represents a page number to an edition.
Edition page numbers are 0-based. Using EditionPageNumber
helps you keep track of the
value domain you are operating in, in case you also have 1-based, human oriented page numbers
in your system. You can convert from 1-based integers with init(oneBased:)
.
-
Undocumented
Declaration
Swift
public var value: Int
-
Undocumented
Declaration
Swift
public init(value: Int)
-
Undocumented
Declaration
Swift
public init(oneBased: Int)