wowkit API
Preparing search index...
@wowkit/wow
attemptMulti
Function attemptMulti
attemptMulti
<
R
extends
unknown
[]
>
(
fn
:
(
this
:
void
)
=>
LuaMultiReturn
<
R
>
,
)
:
LuaMultiReturn
<
[
didSucceed
:
boolean
,
...
results
:
Partial
<
R
>
[]
]
>
attempt
for functions with several results: ok, then the results (all nil on error).
Type Parameters
R
extends
unknown
[]
Parameters
fn
:
(
this
:
void
)
=>
LuaMultiReturn
<
R
>
Returns
LuaMultiReturn
<
[
didSucceed
:
boolean
,
...
results
:
Partial
<
R
>
[]
]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
wowkit API
Loading...
attemptfor functions with several results: ok, then the results (all nil on error).