Home Manual Reference Source

References

summary
private

F _reduce(accumulator: Function, iterable: Iterable, initializer: Object): Object

Applies the accumulator function iteratively on the last return value of the accumulator and the next value in the input iterable.

private

F _sum(iterable: Iterable, initializer: Object): Object

Sums the elements of the input iterable.

public

F all(iterable: Iterable): Boolean

Returns true if all of the elements of the input iterable are truthy.

public

F any(iterable: Iterable): Boolean

Returns true if any of the elements of the input iterable is truthy.

public

F max(compare: Function, iterable: Iterable, dflt: Object): Object

Returns the largest element of the input iterable according to some comparison function.

public

F min(compare: Function, iterable: Iterable, dflt: Object): Object

Returns the smallest element of the input iterable according to some comparison function.

public

F reduce(accumulator: Function, iterable: Iterable, initializer: Object): Object

Applies the accumulator function iteratively on the last return value of the accumulator and the next value in the input iterable.

public

F some(iterable: Iterable, n: Number): Boolean

Returns true if at least some of the elements of the input iterable are truthy.

public

F sum(iterable: Iterable, initializer: Object): Object

Sums the elements of the input iterable.