isSignerKeypair()
isSignerKeypair()
function isSignerKeypair(walletOrKeypair): walletOrKeypair is Keypair;Defined in: utils.ts:95
Utility function to check if the transaction initiator a Keypair object, tries to mitigate version mismatch issues
Parameters
| Parameter | Type | Description |
|---|---|---|
walletOrKeypair | Keypair | SignerWalletAdapter | {Keypair |
Returns
walletOrKeypair is Keypair
- Returns true if parameter is a Keypair.