Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/web3.js
assertIsInstructionWithData
Function assertIsInstructionWithData
assertIsInstructionWithData
<
TData
extends
ReadonlyUint8Array
=
ReadonlyUint8Array
,
TInstruction
extends
IInstruction
<
string
,
readonly
(
IAccountLookupMeta
<
string
,
string
>
|
IAccountMeta
<
string
>
)
[]
,
>
=
IInstruction
<
string
,
readonly
(
IAccountLookupMeta
<
string
,
string
>
|
IAccountMeta
<
string
>
)
[]
,
>
,
>
(
instruction
:
TInstruction
,
)
:
asserts
instruction
is
IInstructionWithData
<
TData
>
&
TInstruction
Type Parameters
TData
extends
ReadonlyUint8Array
=
ReadonlyUint8Array
TInstruction
extends
IInstruction
<
string
,
readonly
(
IAccountLookupMeta
<
string
,
string
>
|
IAccountMeta
<
string
>
)
[]
,
>
=
IInstruction
<
string
,
readonly
(
IAccountLookupMeta
<
string
,
string
>
|
IAccountMeta
<
string
>
)
[]
,
>
Parameters
instruction
:
TInstruction
Returns
asserts
instruction
is
IInstructionWithData
<
TData
>
&
TInstruction
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...