CheckDigit

data class CheckDigit(val isValid: Boolean, val value: Char)

Represents a single check digit extracted from a Machine Readable Zone (MRZ) according to the ICAO Doc 9303.

The check digit is used to verify the integrity of the data contained within the MRZ.

Constructors

Link copied to clipboard
fun CheckDigit(isValid: Boolean, value: Char)

Properties

Link copied to clipboard

Indicates whether the check digit is valid or not. true if valid, false otherwise.

Link copied to clipboard
val value: Char

The character value of the check digit.