]> git.r.bdr.sh - rbdr/dotfiles/blob
988a6adb6249e715d1ad573f09191de650b1c136
[rbdr/dotfiles] /
1 'use strict';
2
3 var isObject = require('../object/is-object')
4 , is = require('./is');
5
6 module.exports = function (x) {
7 if (is(x) && isObject(x)) return x;
8 throw new TypeError(x + " is not an iterable or array-like object");
9 };