aswi2020vldc-gitlab/templetes/node_modules/babel-runtime/helpers/toArray.js @ 10920ea3
1 | 3a515b92 | cagy | "use strict"; |
---|---|---|---|
2 | |||
3 | exports.__esModule = true; |
||
4 | |||
5 | var _from = require("../core-js/array/from"); |
||
6 | |||
7 | var _from2 = _interopRequireDefault(_from); |
||
8 | |||
9 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
||
10 | |||
11 | exports.default = function (arr) { |
||
12 | return Array.isArray(arr) ? arr : (0, _from2.default)(arr); |
||
13 | };
|