Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-deps / dist / typings / loop / map / mapObjVals.d.ts
Size: Mime:
import { AnyObj } from '../../_typings';
import { MapObjValuesIteratee } from './typings.loop.map';
/**
 * Creates an array of values by running each property of `object` thru
 * `iteratee`. The iteratee is invoked with three arguments: (value, key, object).
 *
 * @name mapObjVals
 * @since 5.0.0-beta.6
 * @memberOf loop
 *
 * @param object The object to iterate over.
 * @param iteratee The function invoked per iteration.
 * @return Returns the new mapped array.
 *
 * @func
 * @category Object
 *
 * {@link https://github.com/lodash/lodash/blob/master/map.js lodash-map}
 * @see {@link lodash-map}
 *
 * @example
 *
 *   const square = n => n * n
 *   map({ 'a': 4, 'b': 8 }, square)
 *   //=> [16, 64] (iteration order is not guaranteed)
 *
 */
declare function mapObjectValues(object: AnyObj, iteratee: MapObjValuesIteratee): any[];
export default mapObjectValues;