mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Cleanup docs in _.matches and _.where. [ci skip]
This commit is contained in:
@@ -4557,7 +4557,7 @@
|
||||
|
||||
/**
|
||||
* Performs a deep comparison between each element in `collection` and the
|
||||
* `props` object, returning an array of all elements that have equivalent
|
||||
* `source` object, returning an array of all elements that have equivalent
|
||||
* property values.
|
||||
*
|
||||
* @static
|
||||
@@ -4565,7 +4565,7 @@
|
||||
* @type Function
|
||||
* @category Collections
|
||||
* @param {Array|Object|string} collection The collection to iterate over.
|
||||
* @param {Object} props The object of property values to filter by.
|
||||
* @param {Object} source The object of property values to filter by.
|
||||
* @returns {Array} Returns a new array of elements that have the given properties.
|
||||
* @example
|
||||
*
|
||||
@@ -7039,13 +7039,13 @@
|
||||
|
||||
/**
|
||||
* Creates a "_.where" style function, which performs a deep comparison
|
||||
* between a given object and the `props` object, returning `true` if the
|
||||
* between a given object and the `source` object, returning `true` if the
|
||||
* given object has equivalent property values, else `false`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @category Utilities
|
||||
* @param {Object} props The object of property values to match.
|
||||
* @param {Object} source The object of property values to match.
|
||||
* @returns {Function} Returns the new function.
|
||||
* @example
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user