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 / each / forInUnguarded.d.ts
Size: Mime:
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>;