isInstructionWithData
Type Parameters
| Type Parameter | Default type |
|---|---|
TData extends ReadonlyUint8Array | ReadonlyUint8Array |
TInstruction extends Instruction<string, readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[]> | Instruction<string, readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[]> |
Parameters
| Parameter | Type |
|---|---|
instruction | TInstruction |
Returns
instruction is InstructionWithData<TData> & TInstruction