MCPcopy
hub / github.com/eolinker/goku_lite / isNative

Function isNative

console/static/src/libs/ace-builds/src/worker-javascript.js:3070–3078  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3068 }
3069
3070 function isNative(value) {
3071 if (value == null) {
3072 return false;
3073 }
3074 if (objToString.call(value) == funcTag) {
3075 return reIsNative.test(fnToString.call(value));
3076 }
3077 return isObjectLike(value) && reIsHostCtor.test(value);
3078 }
3079
3080 function isNumber(value) {
3081 return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);

Callers 1

Calls 1

isObjectLikeFunction · 0.85

Tested by

no test coverage detected