PrivateKey.isTypeclass method

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

PrivateKeyisTypevalueis-private-key

nametypedescription

value

any

A value to be tested.

is-private-key

Boolean

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