Functions
isBlockhash
isBlockhash(
putativeBlockhash
):putativeBlockhash is Blockhash
A type guard that returns true
if the input string conforms to the Blockhash type, and
refines its type for use in your program.
Parameters
Parameter | Type |
---|---|
putativeBlockhash | string |
Returns
putativeBlockhash is Blockhash