UNPKG
@thejones/react-common-components
Version:
latest (2.0.1)
2.0.1
2.0.0
React component - semantic ui
example.com
@thejones/react-common-components
/
node_modules
/
@babel
/
runtime
/
helpers
/
esm
/
toArray.js
6 lines
•
261 B
JavaScript
View Raw
1
2
3
4
5
6
import
arrayWithHoles
from
"./arrayWithHoles"
;
import
iterableToArray
from
"./iterableToArray"
;
import
nonIterableRest
from
"./nonIterableRest"
;
export
default
function
_toArray
(
arr
) {
return
arrayWithHoles
(arr) ||
iterableToArray
(arr) ||
nonIterableRest
(); }