Function partitionAs

  • Segregates values by similarity.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: Set<T>

      a set

    • fm: MapFunction<T, T | U>

      map function (v, v, x)

    Returns Map<T | U, Set<T>>

    Map {key ⇒ values}

Generated using TypeDoc