mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
7 lines
392 B
JavaScript
7 lines
392 B
JavaScript
import arrayWithoutHoles from "./arrayWithoutHoles";
|
|
import iterableToArray from "./iterableToArray";
|
|
import unsupportedIterableToArray from "./unsupportedIterableToArray";
|
|
import nonIterableSpread from "./nonIterableSpread";
|
|
export default function _toConsumableArray(arr) {
|
|
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
|
} |