onrails
GitHub
npm
Preparing search index...
@onrails/result
extra
collect
Function collect
collect
<
T
,
E
>
(
results
:
readonly
Result
<
T
,
E
>
[]
)
:
Result
<
T
[]
,
E
>
Collect values when all Ok; otherwise first Err encountered
Type Parameters
T
E
Parameters
results
:
readonly
Result
<
T
,
E
>
[]
Returns
Result
<
T
[]
,
E
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
onrails
Loading...
Collect values when all Ok; otherwise first Err encountered