feat: initial commit of Railtrack Pro prototype with complete test suite
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _isNativeFunction;
|
||||
function _isNativeFunction(fn) {
|
||||
try {
|
||||
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
||||
} catch (_e) {
|
||||
return typeof fn === "function";
|
||||
}
|
||||
}
|
||||
|
||||
//# sourceMappingURL=isNativeFunction.js.map
|
||||
Reference in New Issue
Block a user