Search
Preparing search index...
The search index is not available
Typed - v3.4.4
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
io
LiteralType
Interface LiteralType<A, O>
Type parameters
A
O
Hierarchy
Type
<
A
>
LiteralType
Index
Type aliases
Encoding
Of
Properties
decode
encode
expected
is
name
value
Methods
from
Guard
Type aliases
Encoding
Encoding<A>
:
E.OutputOf
<
A
>
Type parameters
A
Of
Of<A>
:
G.TypeOf
<
A
>
Type parameters
A
Properties
Readonly
decode
decode
:
(
i
:
unknown
)
=>
DecodeEffect
<
A
>
Type declaration
(
i
:
unknown
)
:
DecodeEffect
<
A
>
Parameters
i:
unknown
Returns
DecodeEffect
<
A
>
Readonly
encode
encode
:
(
i
:
A
)
=>
O
Type declaration
(
i
:
A
)
:
O
Parameters
i:
A
Returns
O
Readonly
expected
expected
:
string
Readonly
is
is
:
Is
<
A
>
Readonly
name
name
:
string
Readonly
value
value
:
A
Methods
from
Guard
from
Guard<A>
(
guard
:
Guard
<
A
>
, name
:
string
, expected
?:
string
)
:
Type
<
A
>
Type parameters
A
Parameters
guard:
Guard
<
A
>
name:
string
Default value
expected:
string
= name
Returns
Type
<
A
>
Typed
Introduction
Community
Code of
Conduct
Globals
io
Decode
Error
Decoder
Encoder
Guard
Type
io
Literal
Type
Encoding
Of
decode
encode
expected
is
name
value
from
Guard
Generated using
TypeDoc