utilCartesian
Version note: this reference describes Nanook 1.x (JavaScript). Since 2.0 (March 2026) Nanook is TypeScript/ESM; Processor is now TestcaseProcessor, TDGServiceRegistry is DataGeneratorRegistry. The current reference is on this site: API reference, 3.x rows, generated from the repository.
cartesianProduct ⇒ array
This function builds a cartesian product out of the given arrays
Kind: global constant
Returns: array - res An array with the cartesian product
| Param | Type | Description |
|---|---|---|
| a | array |
An array of elements |
| b | array |
An array of elements |
| ..c | array |
further array of elements |