vtils

Home > utils > cartesianProduct

cartesianProduct() function

Signature:

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

Parameters

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

Returns:

[T, U, V][]