Function assertIsInstructionWithAccounts
- assertIsInstructionWithAccounts<
TAccounts extends
readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[] = readonly (
IAccountLookupMeta<string, string>
| IAccountMeta<string>
)[],
TInstruction extends
IInstruction<
string,
readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[],
> = IInstruction<
string,
readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[],
>,
>(
instruction: TInstruction,
): asserts instruction is IInstructionWithAccounts<TAccounts> & TInstruction