ts-fortress
Preparing search index...
predefined/json
JsonPrimitive
Variable JsonPrimitive
Const
JsonPrimitive
:
Readonly
<
{
assertIs
:
(
a
:
unknown
)
=>
asserts
a
is
string
|
number
|
boolean
|
null
;
cast
:
(
a
:
unknown
)
=>
string
|
number
|
boolean
|
null
;
defaultValue
:
string
|
number
|
boolean
|
null
;
fill
:
(
a
:
unknown
)
=>
string
|
number
|
boolean
|
null
;
is
:
(
a
:
unknown
)
=>
a
is
string
|
number
|
boolean
|
null
;
typeName
:
string
;
validate
:
(
a
:
unknown
,
)
=>
Result
<
string
|
number
|
boolean
|
null
,
readonly
Readonly
<
{
actualValue
:
unknown
;
details
?:
ValidationErrorDetails
;
expectedType
:
string
;
path
:
readonly
string
[]
;
typeName
:
string
;
}
,
>
[]
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-fortress
Loading...