mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
10 lines
244 B
JavaScript
10 lines
244 B
JavaScript
function isSorted(_ref) {
|
|
var _ref2 = babelHelpers.toArray(_ref),
|
|
x = _ref2[0],
|
|
y = _ref2[1],
|
|
wow = babelHelpers.arrayLikeToArray(_ref2).slice(2);
|
|
if (!zs.length) return true;
|
|
if (y > x) return isSorted(zs);
|
|
return false;
|
|
}
|