PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
inquirer
/
node_modules
/
lodash
/
lang
var isFunction = require('./isFunction'), isObjectLike = require('../internal/isObjectLike'); /** Used to detect host constructors (Safari > 5). */ var reIsHostCtor = /^\[object .+?Constructor\]$/; /** Used for native method references. */ var objectProto = Object.prototype; /** Used to resolve the decompiled source of functions. */ var fnToString = Function.prototype.toString; /** Used to check objects for own properties. */ var hasOwnProperty = objectProto.hasOwnProperty; /** Used to detect if a method is native. */ var reIsNative = RegExp('^' + fnToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g, '\\$&') .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' ); /** * Checks if `value` is a native function. * * @static * @memberOf _ * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a native function, else `false`. * @example * * _.isNative(Array.prototype.push); * // => true * * _.isNative(_); * // => false */ function isNative(value) { if (value == null) { return false; } if (isFunction(value)) { return reIsNative.test(fnToString.call(value)); } return isObjectLike(value) && reIsHostCtor.test(value); } module.exports = isNative;
[-] isBoolean.js
[edit]
[-] isRegExp.js
[edit]
[-] toArray.js
[edit]
[-] gt.js
[edit]
[+]
..
[-] isNative.js
[edit]
[-] isFinite.js
[edit]
[-] isObject.js
[edit]
[-] isUndefined.js
[edit]
[-] isDate.js
[edit]
[-] isError.js
[edit]
[-] isPlainObject.js
[edit]
[-] isTypedArray.js
[edit]
[-] toPlainObject.js
[edit]
[-] isArguments.js
[edit]
[-] eq.js
[edit]
[-] isElement.js
[edit]
[-] gte.js
[edit]
[-] isString.js
[edit]
[-] isNull.js
[edit]
[-] cloneDeep.js
[edit]
[-] lt.js
[edit]
[-] lte.js
[edit]
[-] isNumber.js
[edit]
[-] isNaN.js
[edit]
[-] isArray.js
[edit]
[-] isMatch.js
[edit]
[-] isEmpty.js
[edit]
[-] isFunction.js
[edit]
[-] clone.js
[edit]
[-] isEqual.js
[edit]