vtils

Home > utils > cartesianProduct

cartesianProduct() function

Signature:

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

Parameters

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

Returns:

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