summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/instanceof.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/instanceof.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/esm/instanceof.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/instanceof.js b/alarm/node_modules/@babel/runtime/helpers/esm/instanceof.js
new file mode 100644
index 0000000..8c43b71
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/esm/instanceof.js
@@ -0,0 +1,7 @@
+export default function _instanceof(left, right) {
+ if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
+ return !!right[Symbol.hasInstance](left);
+ } else {
+ return left instanceof right;
+ }
+} \ No newline at end of file