Skip to content

Documentation / @ripl/utilities / CollectionIteratee

Type Alias: CollectionIteratee()<TValue, TResult> ​

CollectionIteratee<TValue, TResult> = (value, index) => TResult

Defined in: collection.ts:19

Callback invoked for each item in a collection, receiving the value and its index.

Type Parameters ​

Type ParameterDefault type
TValue-
TResultvoid

Parameters ​

ParameterType
valueTValue
indexnumber

Returns ​

TResult