isDidSignature
isDidSignature(
input
):input is DidSignature
Type guard assuring that the input is a valid DidSignature object, consisting of a signature as hex and the uri of the signing key. Does not cryptographically verify the signature itself!
Parameters
• input: unknown
Arbitrary input.
Returns
input is DidSignature
True if validation of form has passed.