PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/modules/_validate-collection.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 5 lines | 5 code | 0 blank | 0 comment | 2 complexity | f6d420ceac33c9b2d8798e622ff22b27 MD5 | raw file
1var isObject = require('./_is-object');
2module.exports = function (it, TYPE) {
3  if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
4  return it;
5};