mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 12:27:49 +00:00
Bump to v4.4.0.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* lodash 4.3.1 (Custom Build) <https://lodash.com/>
|
||||
* lodash 4.4.0 (Custom Build) <https://lodash.com/>
|
||||
* Build: `lodash modularize exports="npm" -o ./`
|
||||
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
|
||||
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
* Available under MIT license <https://lodash.com/license>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/
|
||||
var baseFor = require('lodash._basefor'),
|
||||
baseIteratee = require('lodash._baseiteratee'),
|
||||
@@ -62,16 +62,18 @@ function createInverter(setter, toIteratee) {
|
||||
|
||||
/**
|
||||
* This method is like `_.invert` except that the inverted object is generated
|
||||
* from the results of running each element of `object` through `iteratee`.
|
||||
* The corresponding inverted value of each inverted key is an array of keys
|
||||
* from the results of running each element of `object` thru `iteratee`. The
|
||||
* corresponding inverted value of each inverted key is an array of keys
|
||||
* responsible for generating the inverted value. The iteratee is invoked
|
||||
* with one argument: (value).
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.1.0
|
||||
* @category Object
|
||||
* @param {Object} object The object to invert.
|
||||
* @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element.
|
||||
* @param {Array|Function|Object|string} [iteratee=_.identity]
|
||||
* The iteratee invoked per element.
|
||||
* @returns {Object} Returns the new inverted object.
|
||||
* @example
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user