Function countAs

  • Count occurrences of values.

    Returns

    Map {value ⇒ count}

    Type Parameters

    • K

    • V

    • W = V

    Parameters

    • x: Lists<K, V>

      lists

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

      map function (v, k, x)

    Returns Map<V | W, number>

Generated using TypeDoc