ee.Reducer.disaggregate

Separates aggregate inputs (Arrays, Lists or Dictionaries) into individual items that are then each passed to the specified reducer. When used on dictionaries, the dictionary keys are ignored. Non-aggregated inputs (ie: numbers or strings) are passed to the underlying reducer directly.

UsageReturns
Reducer.disaggregate(axis)Reducer
ArgumentTypeDetails
this: reducerReducerThe reducer for which to disaggregate inputs.
axisInteger, default: nullIf specified, indicates an array axis along which to disaggregate. If not specified, arrays are completely disaggregated. Ignored for non-array types.