JSPM

Found 7 results for array.reduce

@stdlib/utils-async-reduce

Apply a function against an accumulator and each element in a collection and return the accumulated result.

  • v0.2.2
  • 18.82
  • Published

@stdlib/utils-async-reduce-right

Apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.

  • v0.2.2
  • 17.51
  • Published

@stdlib/utils-reduce2d

Reduce the number of dimensions by one of a two-dimensional nested array by applying a function against an accumulator and each element along the innermost dimension and returning the accumulation results as a one-dimensional array.

  • v0.2.2
  • 12.47
  • Published

@stdlib/utils-reduce

Apply a function against an accumulator and each element in an array and return the accumulated result.

  • v0.2.1
  • 10.97
  • Published

@stdlib/utils-reduce-right

Apply a function against an accumulator and each element in an array while iterating from right to left and return the accumulated result.

  • v0.2.1
  • 8.13
  • Published

@stdlib/utils-map-reduce

Perform a single-pass map-reduce operation against each element in an array and return the accumulated result.

  • v0.2.1
  • 6.78
  • Published

@stdlib/utils-map-reduce-right

Perform a single-pass map-reduce operation against each element in an array while iterating from right to left and return the accumulated result.

  • v0.2.1
  • 5.01
  • Published