@muspellheim/shared
Preparing search index...
createCommandStatus
Function createCommandStatus
createCommandStatus
<
S
=
unknown
,
F
=
string
>
(
status
:
CommandStatus
<
S
,
F
>
,
)
:
Success
<
S
>
|
Failure
<
F
>
Create a success or failure object from a object compatible with command status.
Type Parameters
S
=
unknown
F
=
string
Parameters
status
:
CommandStatus
<
S
,
F
>
Returns
Success
<
S
>
|
Failure
<
F
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@muspellheim/shared
Loading...
Create a success or failure object from a object compatible with command status.