Search
Preparing search index...
The search index is not available
Typed - v3.4.4
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
io
EitherType
Interface EitherType<A, B, O>
Type parameters
A
:
Type
B
:
Type
O
Hierarchy
Type
<
Either
<
Of
<
A
>
,
Of
<
B
>
>
>
EitherType
Index
Type aliases
Encoding
Of
Properties
decode
encode
expected
is
left
name
right
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
<
Either
<
Of
<
A
>
,
Of
<
B
>
>
>
Type declaration
(
i
:
unknown
)
:
DecodeEffect
<
Either
<
Of
<
A
>
,
Of
<
B
>
>
>
Parameters
i:
unknown
Returns
DecodeEffect
<
Either
<
Of
<
A
>
,
Of
<
B
>
>
>
Readonly
encode
encode
:
(
i
:
Either
<
Of
<
A
>
,
Of
<
B
>
>
)
=>
O
Type declaration
(
i
:
Either
<
Of
<
A
>
,
Of
<
B
>
>
)
:
O
Parameters
i:
Either
<
Of
<
A
>
,
Of
<
B
>
>
Returns
O
Readonly
expected
expected
:
string
Readonly
is
is
:
Is
<
Either
<
Of
<
A
>
,
Of
<
B
>
>
>
Readonly
left
left
:
A
Readonly
name
name
:
string
Readonly
right
right
:
B
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
Either
Type
Encoding
Of
decode
encode
expected
is
left
name
right
from
Guard
Generated using
TypeDoc