mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Add _.property shorthand note to _.countBy docs. [ci skip]
This commit is contained in:
@@ -8341,6 +8341,7 @@
|
|||||||
* _.countBy([6.1, 4.2, 6.3], Math.floor);
|
* _.countBy([6.1, 4.2, 6.3], Math.floor);
|
||||||
* // => { '4': 1, '6': 2 }
|
* // => { '4': 1, '6': 2 }
|
||||||
*
|
*
|
||||||
|
* // The `_.property` iteratee shorthand.
|
||||||
* _.countBy(['one', 'two', 'three'], 'length');
|
* _.countBy(['one', 'two', 'three'], 'length');
|
||||||
* // => { '3': 2, '5': 1 }
|
* // => { '3': 2, '5': 1 }
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user