package.internals.an-instance.js Maven / Gradle / Ivy
The newest version!
'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');
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy