Coda by Ian Macalinao
Preparing search index...
@macalinao/coda
constantNode
Function constantNode
constantNode
<
const
TType
extends
TypeNode
,
const
TValue
extends
StandaloneValueNode
,
>
(
name
:
string
,
type
:
TType
,
value
:
TValue
,
docs
?:
DocsInput
,
)
:
ConstantNode
<
TType
,
TValue
>
A named constant exposed by the program: a typed value associated with a name.
Type Parameters
const
TType
extends
TypeNode
const
TValue
extends
StandaloneValueNode
Parameters
name
:
string
type
:
TType
value
:
TValue
Optional
docs
:
DocsInput
Returns
ConstantNode
<
TType
,
TValue
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...
A named constant exposed by the program: a typed value associated with a name.