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