Function flatMap

  • Flatten nested map, based on map function.

    Type Parameters

    • K

    Parameters

    • x: Map<K, any>

      a nested map

    • fm: MapFunction<K, any, any> = null

      map function (v, k, x)

    • ft: TestFunction<K, any> = null

      test function for flatten (v, k, x) [is]

    Returns Map<K, any>

    flat map

Generated using TypeDoc