Links _.remove and _.pull in the docs. [ci skip]

This commit is contained in:
Benjamim Sonntag
2016-02-19 20:18:52 +00:00
committed by John-David Dalton
parent b570884bb3
commit 6a4e0fb41b

View File

@@ -6186,7 +6186,8 @@
* [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
* for equality comparisons. * for equality comparisons.
* *
* **Note:** Unlike `_.without`, this method mutates `array`. * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
* to remove elements from an array by predicate.
* *
* @static * @static
* @memberOf _ * @memberOf _
@@ -6291,10 +6292,11 @@
/** /**
* Removes all elements from `array` that `predicate` returns truthy for * Removes all elements from `array` that `predicate` returns truthy for
* and returns an array of the removed elements. The predicate is invoked with * and returns an array of the removed elements. The predicate is invoked
* three arguments: (value, index, array). * with three arguments: (value, index, array).
* *
* **Note:** Unlike `_.filter`, this method mutates `array`. * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
* to pull elements from an array by value.
* *
* @static * @static
* @memberOf _ * @memberOf _