_validate-collection.js 200 Bytes RawBlameHistoryPermalink 1 2 3 4 5 var isObject = require('./_is-object'); module.exports = function (it, TYPE) { if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; };