EphAsad's picture
Upload 9972 files
01fdca8 verified
Raw
History Blame Contribute Delete
254 Bytes
'use strict';
var isPrototypeOf = require('../internals/object-is-prototype-of');
var $TypeError = TypeError;
module.exports = function (it, Prototype) {
if (isPrototypeOf(Prototype, it)) return it;
throw new $TypeError('Incorrect invocation');
};