Home > @magiclane/maps-sdk > GemList > reduce

GemList.reduce() method

Signature:

reduce<R>(combine: (accumulator: R, item: T) => R, initialValue: R): R;

Parameters

Parameter

Type

Description

combine

(accumulator: R, item: T) => R

initialValue

R

Returns:

R