each < T > ( collection , iteratee ? ) :  T [] Parameters collection : T [] Optionaliteratee : ArrayIterator < T ,  any > Returns T []  Defined in node_modules/@types/lodash/common/collection.d.ts:65 each ( collection , iteratee ? ) :  string Parameters collection : string Optionaliteratee : StringIterator < any > Returns string  Defined in node_modules/@types/lodash/common/collection.d.ts:65 each < T > ( collection , iteratee ? ) :  List < T > Parameters collection : List < T > Optionaliteratee : ListIterator < T ,  any > Returns List < T >  Defined in node_modules/@types/lodash/common/collection.d.ts:65 each < T > ( collection , iteratee ? ) :  T Parameters collection : T Optionaliteratee : ObjectIterator < T ,  any > Returns T  Defined in node_modules/@types/lodash/common/collection.d.ts:65 each < T ,  TArray > ( collection , iteratee ? ) :  TArray Type Parameters T TArray  extends  undefined  |  null  |  T [] Parameters collection : TArray  &  ( undefined  |  null  |  T [] ) Optionaliteratee : ArrayIterator < T ,  any > Defined in node_modules/@types/lodash/common/collection.d.ts:65 each < TString > ( collection , iteratee ? ) :  TString Type Parameters TString  extends  undefined  |  null  |  string Parameters collection : TString Optionaliteratee : StringIterator < any > Defined in node_modules/@types/lodash/common/collection.d.ts:65 each < T ,  TList > ( collection , iteratee ? ) :  TList Type Parameters T TList  extends  undefined  |  null  |  List < T > Parameters collection : TList  &  ( undefined  |  null  |  List < T > ) Optionaliteratee : ListIterator < T ,  any > Defined in node_modules/@types/lodash/common/collection.d.ts:65 each < T > ( collection , iteratee ? ) :  undefined  |  null  |  T Parameters collection : undefined  |  null  |  T Optionaliteratee : ObjectIterator < T ,  any > Returns undefined  |  null  |  T  Defined in node_modules/@types/lodash/common/collection.d.ts:65 
Iterates over elements of collection invoking iteratee for each element. The iteratee is invoked with three arguments: (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false.
Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To avoid this behavior _.forIn or _.forOwn may be used for object iteration.