UNPKG

@babel/runtime-corejs2

Version:

babel's modular runtime helpers with core-js@2 polyfilling

6 lines 326 B
import _Symbol from "core-js/library/fn/symbol/index.js"; import _Symbol$hasInstance from "core-js/library/fn/symbol/has-instance.js"; function _instanceof(n, e) { return null != e && "undefined" != typeof _Symbol && e[_Symbol$hasInstance] ? !!e[_Symbol$hasInstance](n) : n instanceof e; } export { _instanceof as default };