effect-ts-folds
Preparing search index...
fold
struct
Function struct
struct
<
F
extends
TypeLambda
>
(
F
:
Covariant
<
F
>
,
)
:
<
const
S
extends
Record
<
string
,
Algebra
<
F
,
any
>
>
>
(
struct
:
S
,
)
=>
<
E
=
unknown
,
R
=
unknown
,
I
=
never
>
(
fas
:
Kind
<
F
,
I
,
R
,
E
,
StructReturns
<
F
,
S
,
E
,
R
,
I
>
>
,
)
=>
Simplify
<
StructReturns
<
F
,
S
,
E
,
R
,
I
>
>
Convert a struct of algebras into an algebra of a struct.
Type Parameters
F
extends
TypeLambda
Parameters
F
:
Covariant
<
F
>
Returns
<
const
S
extends
Record
<
string
,
Algebra
<
F
,
any
>
>
>
(
struct
:
S
,
)
=>
<
E
=
unknown
,
R
=
unknown
,
I
=
never
>
(
fas
:
Kind
<
F
,
I
,
R
,
E
,
StructReturns
<
F
,
S
,
E
,
R
,
I
>
>
,
)
=>
Simplify
<
StructReturns
<
F
,
S
,
E
,
R
,
I
>
>
Settings
Member Visibility
Internal
Theme
OS
Light
Dark
effect-ts-folds
Loading...
Convert a struct of algebras into an algebra of a struct.