Skip to content

Underscore Extension Methods

Maxime LUCE edited this page Apr 10, 2015 · 1 revision

KoUnderscore contains some additional underscore methods.

Collection methods

sum Allow to sum collection values by using given iterator.

average Allow to create average by passing collection values using given iterator.

count Allow to count values filtered by given iterator.

index Allow to get index by iterator.

filterMap Allow to filter and map a collection in a single loop for better performance.

Function methods

partialEnd Allow to append some parameter to each method call. see partial.

Clone this wiki locally