mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Links _.remove and _.pull in the docs. [ci skip]
This commit is contained in:
committed by
John-David Dalton
parent
b570884bb3
commit
6a4e0fb41b
10
lodash.js
10
lodash.js
@@ -6186,7 +6186,8 @@
|
||||
* [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
|
||||
* 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
|
||||
* @memberOf _
|
||||
@@ -6291,10 +6292,11 @@
|
||||
|
||||
/**
|
||||
* Removes all elements from `array` that `predicate` returns truthy for
|
||||
* and returns an array of the removed elements. The predicate is invoked with
|
||||
* three arguments: (value, index, array).
|
||||
* and returns an array of the removed elements. The predicate is invoked
|
||||
* 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
|
||||
* @memberOf _
|
||||
|
||||
Reference in New Issue
Block a user