Skip to content

Type Alias: Callback<T, R> ​

Callback<T, R> = (item, index) => R

Defined in: src/collections.ts:12

Generic callback type for collection operations.

Type Parameters ​

T ​

T

R ​

R

Parameters ​

item ​

T

index ​

number

Returns ​

R

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.