UNPKG

watermark-js-plus

Version:
21 lines (15 loc) 529 B
import { __require as requireObjectIsPrototypeOf } from './object-is-prototype-of.js'; var anInstance; var hasRequiredAnInstance; function requireAnInstance () { if (hasRequiredAnInstance) return anInstance; hasRequiredAnInstance = 1; var isPrototypeOf = requireObjectIsPrototypeOf(); var $TypeError = TypeError; anInstance = function (it, Prototype) { if (isPrototypeOf(Prototype, it)) return it; throw new $TypeError('Incorrect invocation'); }; return anInstance; } export { requireAnInstance as __require };