summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js b/alarm/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
new file mode 100644
index 0000000..7b1bc82
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
@@ -0,0 +1,3 @@
+export default function _isNativeFunction(fn) {
+ return Function.toString.call(fn).indexOf("[native code]") !== -1;
+} \ No newline at end of file