summaryrefslogtreecommitdiff
path: root/node_modules/@babel/helpers/lib/helpers/instanceof.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/helpers/lib/helpers/instanceof.js')
-rw-r--r--node_modules/@babel/helpers/lib/helpers/instanceof.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/@babel/helpers/lib/helpers/instanceof.js b/node_modules/@babel/helpers/lib/helpers/instanceof.js
new file mode 100644
index 0000000..ff8272d
--- /dev/null
+++ b/node_modules/@babel/helpers/lib/helpers/instanceof.js
@@ -0,0 +1,15 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = _instanceof;
+function _instanceof(left, right) {
+ if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
+ return !!right[Symbol.hasInstance](left);
+ } else {
+ return left instanceof right;
+ }
+}
+
+//# sourceMappingURL=instanceof.js.map