Preparing search index...
The search index is not available
Houston Common Library
Houston Common Library
@45drives/houston-common-lib
Transformer
Type alias Transformer<TParsed, TUnparsed, ReturnsOption>
Transformer
<
TParsed
extends
{}
,
TUnparsed
extends
{}
,
ReturnsOption
extends
boolean
>
:
{
apply
:
(
(
unparsed
:
TUnparsed
)
=>
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TParsed
>
,
ParsingError
>
)
;
unapply
:
(
(
parsed
:
TParsed
)
=>
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TUnparsed
>
,
ParsingError
>
)
;
}
Type Parameters
TParsed
extends
{}
TUnparsed
extends
{}
ReturnsOption
extends
boolean
=
false
Type declaration
apply
:
(
(
unparsed
:
TUnparsed
)
=>
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TParsed
>
,
ParsingError
>
)
(
unparsed
:
TUnparsed
)
:
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TParsed
>
,
ParsingError
>
Parameters
unparsed
:
TUnparsed
Returns
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TParsed
>
,
ParsingError
>
unapply
:
(
(
parsed
:
TParsed
)
=>
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TUnparsed
>
,
ParsingError
>
)
(
parsed
:
TParsed
)
:
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TUnparsed
>
,
ParsingError
>
Parameters
parsed
:
TParsed
Returns
neverthrow
.
Result
<
MaybeOption
<
ReturnsOption
,
TUnparsed
>
,
ParsingError
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Official Cockpit API Documentation
Houston Common Library
Loading...