Releases
v1.1
Added sum method for array.
Added U.filter() for iterable.
Added support for U.nonNull(object).
Added new chunk() and chunkFilter().
Added methods U.singleOrNull(iterable) and U.singleOrNull(iterable, predicate).
Added method U.cycle(iterable, times).
Added method U.toCardinalityMap(iterable).
Added U.interpose(iterable, element) and U.interposeByList(iterable, elements) methods.
Added methods containsAtLeast(iterable, value, count) and containsAtMost(iterable, value, count).
Added U.splitAt(iterable, position) method.
Added U.repeat(element, times) method.
Added U.binarySearch(iterable, value) method.
Added U.first(iterable, pred, n) method and fix other U.first() methods.
Improved U.fill(list, item), added U.fill(array, item) methods.
Added U.average(iterable) and U.average(iterable, function) methods.
Added U.explode(string) and U.implode(strings) methods.
Added U.replace(iterable, predicate, value) and U.replaceIndexed() methods.
Improved U.concat(iterables) method.
Added U.takeSkipping(iterable, stepSize) method.
Added U.subtract(values) method.
Changed return value for methods U.range(stop), U.range(start, stop) and U.range(start, stop, step).
Improved U.functions(object) method.
You can’t perform that action at this time.