Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
rxjs
/
_esm2015
/
internal
/
operators
/
toArray.js
blob: 98effe76e07def60497442959adcf3c553ac7187 [
file
] [
log
] [
blame
]
import
{
reduce
}
from
'./reduce'
;
function
toArrayReducer
(
arr
,
item
,
index
)
{
if
(
index
===
0
)
{
return
[
item
];
}
arr
.
push
(
item
);
return
arr
;
}
export
function
toArray
()
{
return
reduce
(
toArrayReducer
,
[]);
}
//# sourceMappingURL=toArray.js.map