biofriction-wp-theme/node_modules/core-js/modules/_validate-collection.js

6 lines
200 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
var isObject = require('./_is-object');
module.exports = function (it, TYPE) {
if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
return it;
};