isSignerWallet()
isSignerWallet()
function isSignerWallet(walletOrKeypair): walletOrKeypair is SignerWalletAdapter;Defined in: utils.ts:86
Utility function to check if the transaction initiator is a Wallet object
Parameters
| Parameter | Type | Description |
|---|---|---|
walletOrKeypair | Keypair | SignerWalletAdapter | Wallet or Keypair in question |
Returns
walletOrKeypair is SignerWalletAdapter
- Returns true if parameter is a Wallet.