Home Manual Reference Source

References

summary
public

F * by(iterable: Iterable, n: Number): Iterator

Yields elements of the input iterable by grouping them into tuples of a given size.

public

F * group(key: Function, iterable: Iterable): Iterator

Yields elements of the input iterable by grouping them into tuples consecutive elements from the same equivalence class.

public

V groupby: *

Same as group.