Function: verify()
verify(
message):VerifyBody|undefined
Convenience accessor: the <Verify> (verification-acknowledgment) body of a
message, or undefined.
Parameters
message
A parsed ScriptMessage.
Returns
VerifyBody | undefined
The Verify body, or undefined when the message is not a Verify.
Example
verify(parseScript(xml))?.code;