assertIsInstructionWithAccounts
Type Parameters
| Type Parameter | Default type |
|---|---|
TAccounts extends readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[] | readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[] |
TInstruction extends Instruction<string, readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[]> | Instruction<string, readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[]> |
Parameters
| Parameter | Type |
|---|---|
instruction | TInstruction |
Returns
asserts instruction is InstructionWithAccounts<TAccounts> & TInstruction