Functions
isSignature
isSignature(
putativeSignature
):putativeSignature is Signature
A type guard that accepts a string as input. It will both return true
if the string conforms to
the Signature type and will refine the type for use in your program.
Parameters
Parameter | Type |
---|---|
putativeSignature | string |
Returns
putativeSignature is Signature