/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
- var isObject = require('./_is-object');
- module.exports = function (it, TYPE) {
- if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
- return it;
- };