Add _.isNative doc example.

This commit is contained in:
John-David Dalton
2014-09-02 09:21:10 -07:00
parent d6883a077a
commit 9414cb97b5

View File

@@ -6999,6 +6999,13 @@
* @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 (isFunction(value)) {