Search
Preparing search index...
The search index is not available
Typed - v3.4.4
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
io
Type
Namespace Type<I, O>
Type parameters
I
O
Hierarchy
Guard
<
I
>
Decoder
<
I
>
Encoder
<
I
,
O
>
Type
Any
Unknown
ArrayType
EitherType
IntersectionType
LiteralType
MapType
MaybeType
UnionType
PartialType
RecordType
RemoteDataType
SetType
TupleType
Index
Type aliases
Encoding
Of
Properties
decode
encode
expected
name
Functions
from
Guard
Methods
id
is
Object literals
_id
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
<
I
>
Type declaration
(
i
:
unknown
)
:
DecodeEffect
<
I
>
Parameters
i:
unknown
Returns
DecodeEffect
<
I
>
Readonly
encode
encode
:
(
i
:
I
)
=>
O
Type declaration
(
i
:
I
)
:
O
Parameters
i:
I
Returns
O
Readonly
expected
expected
:
string
Readonly
name
name
:
string
Functions
Const
from
Guard
from
Guard<A>
(
guard
:
Guard
<
A
>
, expected
:
string
)
:
Decoder
<
A
>
from
Guard<A>
(
guard
:
Guard
<
A
>
, name
:
string
, expected
?:
string
)
:
Type
<
A
>
Type parameters
A
Parameters
guard:
Guard
<
A
>
expected:
string
Returns
Decoder
<
A
>
Type parameters
A
Parameters
guard:
Guard
<
A
>
name:
string
Default value
expected:
string
= name
Returns
Type
<
A
>
Methods
id
id<A>
(
)
:
Encoder
<
A
,
A
>
Type parameters
A
:
any
Returns
Encoder
<
A
,
A
>
Readonly
is
is<A>
(
is
:
Is
<
A
>
)
:
Guard
<
A
>
Type parameters
A
Parameters
is:
Is
<
A
>
Returns
Guard
<
A
>
Object literals
_id
_id
:
object
encode
encode
:
<A>
(
value
:
A
)
=>
A
= identity
Type declaration
<A>
(
value
:
A
)
:
A
Type parameters
A
Parameters
value:
A
Returns
A
Typed
Introduction
Community
Code of
Conduct
Globals
io
Decode
Error
Decoder
Encoder
Guard
Type
Type
Encoding
Of
decode
encode
expected
name
from
Guard
id
is
_id
Generated using
TypeDoc