web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
342 B

  1. "use strict";
  2. var iteratorSymbol = require("es6-symbol").iterator
  3. , isValue = require("../object/is-value")
  4. , isArrayLike = require("../object/is-array-like");
  5. module.exports = function (value) {
  6. if (!isValue(value)) return false;
  7. if (typeof value[iteratorSymbol] === "function") return true;
  8. return isArrayLike(value);
  9. };