mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Remove references to _.
This commit is contained in:
@@ -7,7 +7,6 @@ const FUNC_ERROR_TEXT = 'Expected a function';
|
||||
* created function.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 3.0.0
|
||||
* @category Function
|
||||
* @param {Function} predicate The predicate to negate.
|
||||
@@ -18,7 +17,7 @@ const FUNC_ERROR_TEXT = 'Expected a function';
|
||||
* return n % 2 == 0;
|
||||
* }
|
||||
*
|
||||
* _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
|
||||
* filter([1, 2, 3, 4, 5, 6], negate(isEven));
|
||||
* // => [1, 3, 5]
|
||||
*/
|
||||
function negate(predicate) {
|
||||
|
||||
Reference in New Issue
Block a user