import {Reducible} from '@serenity-js/core/lib/io/collections'
public interface | source

Reducible

Describes a collection providing a reduce-like interface.

Member Summary

Public Members
public

reduce: function<T,A>(callback: (accumulator: A, currentValue: T, index: number) => A, initialValue: A): PromiseLike<A> | A

Public Members

public reduce: function<T,A>(callback: (accumulator: A, currentValue: T, index: number) => A, initialValue: A): PromiseLike<A> | A source