Pacote
Preparing search index...
@pacote/result
Ok
Function Ok
Ok
<
T
>
(
value
:
T
)
:
Result
<
T
,
never
>
Wraps a success value in a
Result
.
Type Parameters
T
Parameters
value
:
T
Value to wrap.
Returns
Result
<
T
,
never
>
Successful result.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Pacote
Loading...
Wraps a success value in a
Result
.