mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 11:57:49 +00:00
Clarify _.noop docs. [ci skip]
This commit is contained in:
@@ -10830,7 +10830,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A no-operation function.
|
* A no-operation function which returns `undefined` regardless of the
|
||||||
|
* arguments it receives.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -10838,6 +10839,7 @@
|
|||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
* var object = { 'user': 'fred' };
|
* var object = { 'user': 'fred' };
|
||||||
|
*
|
||||||
* _.noop(object) === undefined;
|
* _.noop(object) === undefined;
|
||||||
* // => true
|
* // => true
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user