mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Remove references to _.
This commit is contained in:
@@ -5,15 +5,14 @@ import getMatchData from './_getMatchData.js';
|
||||
* Performs a partial deep comparison between `object` and `source` to
|
||||
* determine if `object` contains equivalent property values.
|
||||
*
|
||||
* **Note:** This method is equivalent to `_.matches` when `source` is
|
||||
* **Note:** This method is equivalent to `matches` when `source` is
|
||||
* partially applied.
|
||||
*
|
||||
* Partial comparisons will match empty array and empty object `source`
|
||||
* values against any array or object value, respectively. See `_.isEqual`
|
||||
* values against any array or object value, respectively. See `isEqual`
|
||||
* for a list of supported value comparisons.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 3.0.0
|
||||
* @category Lang
|
||||
* @param {Object} object The object to inspect.
|
||||
@@ -23,10 +22,10 @@ import getMatchData from './_getMatchData.js';
|
||||
*
|
||||
* var object = { 'a': 1, 'b': 2 };
|
||||
*
|
||||
* _.isMatch(object, { 'b': 2 });
|
||||
* isMatch(object, { 'b': 2 });
|
||||
* // => true
|
||||
*
|
||||
* _.isMatch(object, { 'b': 1 });
|
||||
* isMatch(object, { 'b': 1 });
|
||||
* // => false
|
||||
*/
|
||||
function isMatch(object, source) {
|
||||
|
||||
Reference in New Issue
Block a user