Function partitionAs

  • Segregate entries by similarity.

    Type Parameters

    • K

    • V

    • W = V

    Parameters

    • x: Map<K, V>

      a map

    • fm: MapFunction<K, V, V | W>

      map function (v, k, x)

    Returns Map<V | W, Map<K, V>>

    Map {key ⇒ values}

Generated using TypeDoc