mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +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)
|
* [`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 _
|
||||||
|
|||||||
Reference in New Issue
Block a user