Coda by Ian Macalinao
Preparing search index...
@macalinao/coda
instructionArgumentNode
Function instructionArgumentNode
instructionArgumentNode
<
const
TDefaultValue
extends
InstructionInputValueNode
|
undefined
=
undefined
,
const
TType
extends
TypeNode
=
TypeNode
,
const
TDisplay
extends
StructFieldDisplayNode
|
undefined
=
undefined
,
>
(
input
:
InstructionArgumentNodeInput
<
TDefaultValue
,
TType
,
TDisplay
>
,
)
:
InstructionArgumentNode
<
TDefaultValue
,
TType
,
TDisplay
>
A named argument of an instruction, with its type and an optional default value.
Type Parameters
const
TDefaultValue
extends
InstructionInputValueNode
|
undefined
=
undefined
const
TType
extends
TypeNode
=
TypeNode
const
TDisplay
extends
StructFieldDisplayNode
|
undefined
=
undefined
Parameters
input
:
InstructionArgumentNodeInput
<
TDefaultValue
,
TType
,
TDisplay
>
Returns
InstructionArgumentNode
<
TDefaultValue
,
TType
,
TDisplay
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...
A named argument of an instruction, with its type and an optional default value.