Repository URL to install this package:
|
Version:
6.0.4 ▾
|
export declare type CollectionForIn<Value> = Array<Value> | {} | Iterator<Value> | Value;
export interface Iteratee<Value, Prop = any> extends Function {
(value: Value, prop: Prop, collection: Array<Value> | {} | Iterator<Value>): any;
}
/**
* @desc loop for in, no checks on hasOwnProperty, useful for flattening proto
* @since 5.0.0-beta.6
* @memberOf loop
* @curried 2
*
* @param collection collection to iterate
* @param iteratee The function invoked per iteration
* @return collection
*/
export default function forInUnguarded<Value>(collection: Array<Value> | {} | Iterator<Value>, iteratee: Iteratee<Value>): {} | Value[] | Iterator<Value>;