📄 _instanceof.cjs
/home/palash/git/site/node_modules/@swc/helpers/cjs/_instanceof.cjs
Language: cjs • Lines: 10
"use strict";

function _instanceof(left, right) {
    "@swc/helpers - instanceof";

    if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
        return !!right[Symbol.hasInstance](left);
    } else return left instanceof right;
}
exports._ = _instanceof;