iterableToArray.js 175 B

123
  1. export default function _iterableToArray(iter) {
  2. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  3. }