]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/iterable/validate.js
1be6d7fcd96e449737b12ba6602d9451cb2f71db
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / iterable / validate.js
1 'use strict';
2
3 var is = require('./is');
4
5 module.exports = function (x) {
6 if (is(x)) return x;
7 throw new TypeError(x + " is not an iterable or array-like");
8 };