assertIsInstructionForProgram
Type Parameters
| Type Parameter |
|---|
TProgramAddress extends string |
TInstruction extends Instruction<string, readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[]> |
Parameters
| Parameter | Type |
|---|---|
instruction | TInstruction |
programAddress | Address<TProgramAddress> |
Returns
asserts instruction is TInstruction & { programAddress: Address<TProgramAddress> }