decord/source/__polyfill/00xxx/module_196.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

28 lines
790 B
JavaScript

// Module ID: 196
// Function ID: 197
// Dependencies: []
// Exports: hasNativeConstructor, isNativeFunction
// Module 196
export const isNativeFunction = function isNativeFunction(fn) {
let tmp = typeof fn === "function";
if (typeof fn === "function") {
tmp = fn.toString().indexOf("[native code]") > -1;
const str1 = fn.toString();
}
return tmp;
};
export const hasNativeConstructor = function hasNativeConstructor(arg0, GeneratorFunction) {
const str = Object.getPrototypeOf(arg0).constructor;
let tmp = str.name === GeneratorFunction;
if (tmp) {
let tmp2 = typeof str === "function";
if (typeof str === "function") {
tmp2 = str.toString().indexOf("[native code]") > -1;
const str1 = str.toString();
}
tmp = tmp2;
}
return tmp;
};