vtils

Home > utils > cartesianProduct

cartesianProduct() function

Signature:

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

Parameters

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

Returns:

[T, U, V, W][]