MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / isNative

Function isNative

MathBox/mathbox-bundle.js:36617–36619  ·  view source on GitHub ↗

* Checks if `value` is a native function. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if the `value` is a native function, else `false`.

(value)

Source from the content-addressed store, hash-verified

36615 * @returns {boolean} Returns `true` if the `value` is a native function, else `false`.
36616 */
36617 function isNative(value) {
36618 return typeof value == 'function' && reNative.test(value);
36619 }
36620
36621 /**
36622 * Sets `this` binding data on a given function.

Callers 1

runInContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected