product
product<
T>(…iterables:Iterable<T,any,any>[]):T[][]
Defined in: packages/pythonlib/src/itertools.ts:93
Cartesian product of input iterables product([1, 2], [‘a’, ‘b’]) -> [[1, ‘a’], [1, ‘b’], [2, ‘a’], [2, ‘b’]]
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
…iterables | Iterable<T, any, any>[] |
Returns
T[][]