Open
Description
As mentioned in #15 (comment) , what if we left the boolean validDateofBirth name in the result object as is, and introduced a new property "validCheckDigit" in MrzDate?
Thus, validDateofBirth would mean there is something wrong: parse error and/or failed check digit validation. Shall we are interested in the exact cause, we can inspect further with isValidDate() and validCheckDigit of the MrzDate object.
What do you think, does it make sense or it is overcomplicated now?
Activity