libclassfile - v4.0.6
Preparing search index...
bytecode
helpers
assertOperandType
Function assertOperandType
assertOperandType
<
T
extends
string
>
(
operand
:
operands
,
type
:
T
,
)
:
asserts
operand
is
|
Extract
<
SignedByteOperand
,
{
type
:
T
}
>
|
Extract
<
UnsignedByteOperand
,
{
type
:
T
}
>
|
Extract
<
BranchByteOperand
,
{
type
:
T
}
>
|
Extract
<
ConstantPoolEntryOperandShort
,
{
type
:
T
}
>
|
Extract
<
ConstantPoolEntryOperand
,
{
type
:
T
}
>
|
Extract
<
LocalVariableIndexOperand
,
{
type
:
T
}
>
|
Extract
<
SignedShortOperand
,
{
type
:
T
}
>
|
Extract
<
UnsignedShortOperand
,
{
type
:
T
}
>
|
Extract
<
SignedIntOperand
,
{
type
:
T
}
>
|
Extract
<
SignedLongOperand
,
{
type
:
T
}
>
|
Extract
<
JumpOffsettsOperand
,
{
type
:
T
}
>
|
Extract
<
MatchOffsetPairsOperand
,
{
type
:
T
}
>
Type Parameters
T
extends
string
Parameters
operand
:
operands
type
:
T
Returns
asserts
operand
is
|
Extract
<
SignedByteOperand
,
{
type
:
T
}
>
|
Extract
<
UnsignedByteOperand
,
{
type
:
T
}
>
|
Extract
<
BranchByteOperand
,
{
type
:
T
}
>
|
Extract
<
ConstantPoolEntryOperandShort
,
{
type
:
T
}
>
|
Extract
<
ConstantPoolEntryOperand
,
{
type
:
T
}
>
|
Extract
<
LocalVariableIndexOperand
,
{
type
:
T
}
>
|
Extract
<
SignedShortOperand
,
{
type
:
T
}
>
|
Extract
<
UnsignedShortOperand
,
{
type
:
T
}
>
|
Extract
<
SignedIntOperand
,
{
type
:
T
}
>
|
Extract
<
SignedLongOperand
,
{
type
:
T
}
>
|
Extract
<
JumpOffsettsOperand
,
{
type
:
T
}
>
|
Extract
<
MatchOffsetPairsOperand
,
{
type
:
T
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
libclassfile - v4.0.6
Loading...