vtils

Home > utils > cartesianProduct

cartesianProduct() function

Signature:

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

Parameters

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

Returns:

[T, U][]