0
0

validate.js 162 B

12345678
  1. 'use strict';
  2. var is = require('./is');
  3. module.exports = function (x) {
  4. if (is(x)) return x;
  5. throw new TypeError(x + " is not an iterable or array-like");
  6. };