mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Bump to v3.0.0.
This commit is contained in:
17
utility/noop.js
Normal file
17
utility/noop.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* A no-operation function.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @category Utility
|
||||
* @example
|
||||
*
|
||||
* var object = { 'user': 'fred' };
|
||||
* _.noop(object) === undefined;
|
||||
* // => true
|
||||
*/
|
||||
function noop() {
|
||||
// No operation performed.
|
||||
}
|
||||
|
||||
export default noop;
|
||||
Reference in New Issue
Block a user