MCPcopy
hub / github.com/lodash/lodash / isNative

Function isNative

lodash.js:12024–12029  ·  view source on GitHub ↗

* Checks if `value` is a pristine native function. * * **Note:** This method can't reliably detect native functions in the presence * of the core-js package because core-js circumvents this kind of detection. * Despite multiple requests, the core-js maintainer has made it clear:

(value)

Source from the content-addressed store, hash-verified

12022 * // => false
12023 */
12024 function isNative(value) {
12025 if (isMaskable(value)) {
12026 throw new Error(CORE_ERROR_TEXT);
12027 }
12028 return baseIsNative(value);
12029 }
12030
12031 /**
12032 * Checks if `value` is `null`.

Callers

nothing calls this directly

Calls 1

baseIsNativeFunction · 0.85

Tested by

no test coverage detected