CombinationsIterableExtension<E> extension

on

Methods

combinations(int count, {bool repetitions = false}) Iterable<List<E>>

Available on Iterable<E>, provided by the CombinationsIterableExtension extension

Returns an iterable over the combinations of this Iterable of length count. The combinations are emitted in lexicographical order based on the input.