PublicKey.isTypeclass method

Returns true if the input value is an instance of PublicKey.

PublicKeyisTypevalueis-public-key

nametypedescription

value

any

A value to be tested.

is-public-key

Boolean

true if value is an instance of PublicKey, false otherwise.