vtils

Home > utils > cartesianProduct

cartesianProduct() function

Signature:

export declare function cartesianProduct<T, U, V, W, X, Y, Z>(arr: [T[], U[], V[], W[], X[], Y[], Z[]]): [T, U, V, W, X, Y, Z][];

Parameters

Parameter Type Description
arr [T[], U[], V[], W[], X[], Y[], Z[]]  

Returns:

[T, U, V, W, X, Y, Z][]