Function cartesianProduct

  • List cartesian product of objects.

    Parameters

    • xs: object[]

      objects

    • fm: MapFunction = null

      map function (vs)

    Returns IterableIterator<any>

    x₀ × x₁ × ... = {{[k₀, v₀], [k₁, v₁], ...} | [k₀, v₀] ∈ x₀, [k₁, v₁] ∈ x₁, ...]}

Generated using TypeDoc