InputValidationResult
Result of an input validation function.
Properties
Section titled “Properties”messages?
Section titled “messages?”
optionalmessages?:Message[]
Modified messages to use instead of originals (when ok + messages provided).
ok:
boolean
Whether the input passed validation.
reason?
Section titled “reason?”
optionalreason?:string
Reason for rejection (when !ok).