vtils

Home > utils > cartesianProduct

cartesianProduct() function

Signature:

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

Parameters

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

Returns:

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