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