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